using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.ThirdPartyOrderData { /// /// 菜品销售记录 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class ProgramHandleOrderProductData { //==================================private================================== #region field //前台系统ID private string id; //系统ID private string clientId; //父记录ID private string parentId; //菜品ID private string productId; //菜品编号 private string productNo; //菜品名称 private string productName; //菜品单位 private string productUnitId; //菜品单位名 private string productUnitName; //菜品图片URL private string productImageUrl; //分类券路径 private string typePath; //顶级分类ID private string seriesId; //顶级分类名称 private string seriesName; //类别ID private string typeId; //类别名 private string typeName; //规格ID private string specId; //规格名称 private string specName; //数量 private decimal count; //退菜数量 private decimal rcount; //销售价格 private decimal price; //折后价格 private decimal discountPrice; //菜品原价 private decimal priceOrg; //是否套菜(1普通菜 2 主菜 3 明细菜) private int isSuit; //套菜ID private string suitId; //销售时间 private string saleDate; //消费金额 private decimal amount; //优惠率 private decimal discount; //优惠额 private decimal discountTotal; //应收金额 private decimal receivable; //加价金额 private decimal addPriceTotal; //加价优惠金额 private decimal discountAddTotal; //加价消费金额 private decimal amountAddTotal; //消费总额(消费金额+加价总额) private decimal amountTotal; //应收总额(应收金额+加价应收总额) private decimal receivableTotal; //餐盒费 private decimal packageFee; //行号 private int lineNo; #endregion //==================================public================================== #region id 前台系统ID /// /// 前台系统ID /// [JsonProperty(PropertyName = "id")] public string Id { get { return id; } set { id = value; } } #endregion #region clientId 系统ID /// /// 系统ID /// [JsonProperty(PropertyName = "clientId")] public string Clientid { get { return clientId; } set { clientId = value; } } #endregion #region parentId 父记录ID /// /// 父记录ID /// [JsonProperty(PropertyName = "parentId")] public string Parentid { get { return parentId; } set { parentId = value; } } #endregion #region productId 菜品ID /// /// 菜品ID /// [JsonProperty(PropertyName = "productId")] public string Productid { get { return productId; } set { productId = value; } } #endregion #region productNo 菜品编号 /// /// 菜品编号 /// [JsonProperty(PropertyName = "productNo")] public string Productno { get { return productNo; } set { productNo = value; } } #endregion #region productName 菜品名称 /// /// 菜品名称 /// [JsonProperty(PropertyName = "productName")] public string Productname { get { return productName; } set { productName = value; } } #endregion #region productUnitId 菜品单位 /// /// 菜品单位 /// [JsonProperty(PropertyName = "productUnitId")] public string Productunitid { get { return productUnitId; } set { productUnitId = value; } } #endregion #region productUnitName 菜品单位名 /// /// 菜品单位名 /// [JsonProperty(PropertyName = "productUnitName")] public string Productunitname { get { return productUnitName; } set { productUnitName = value; } } #endregion #region productImageUrl 菜品图片URL /// /// 菜品图片URL /// [JsonProperty(PropertyName = "productImageUrl")] public string Productimageurl { get { return productImageUrl; } set { productImageUrl = value; } } #endregion #region typePath 分类券路径 /// /// 分类券路径 /// [JsonProperty(PropertyName = "typePath")] public string Typepath { get { return typePath; } set { typePath = value; } } #endregion #region seriesId 顶级分类ID /// /// 顶级分类ID /// [JsonProperty(PropertyName = "seriesId")] public string Seriesid { get { return seriesId; } set { seriesId = value; } } #endregion #region seriesName 顶级分类名称 /// /// 顶级分类名称 /// [JsonProperty(PropertyName = "seriesName")] public string Seriesname { get { return seriesName; } set { seriesName = value; } } #endregion #region typeId 类别ID /// /// 类别ID /// [JsonProperty(PropertyName = "typeId")] public string Typeid { get { return typeId; } set { typeId = value; } } #endregion #region typeName 类别名 /// /// 类别名 /// [JsonProperty(PropertyName = "typeName")] public string Typename { get { return typeName; } set { typeName = value; } } #endregion #region specId 规格ID /// /// 规格ID /// [JsonProperty(PropertyName = "specId")] public string Specid { get { return specId; } set { specId = value; } } #endregion #region specName 规格名称 /// /// 规格名称 /// [JsonProperty(PropertyName = "specName")] public string Specname { get { return specName; } set { specName = value; } } #endregion #region count 数量 /// /// 数量 /// [JsonProperty(PropertyName = "count")] public decimal Count { get { return count; } set { count = value; } } #endregion #region rcount 退菜数量 /// /// 退菜数量 /// [JsonProperty(PropertyName = "rcount")] public decimal Rcount { get { return rcount; } set { rcount = value; } } #endregion #region price 销售价格 /// /// 销售价格 /// [JsonProperty(PropertyName = "price")] public decimal Price { get { return price; } set { price = value; } } #endregion #region discountPrice 折后价格 /// /// 折后价格 /// [JsonProperty(PropertyName = "discountPrice")] public decimal Discountprice { get { return discountPrice; } set { discountPrice = value; } } #endregion #region priceOrg 菜品原价 /// /// 菜品原价 /// [JsonProperty(PropertyName = "priceOrg")] public decimal Priceorg { get { return priceOrg; } set { priceOrg = value; } } #endregion #region isSuit 是否套菜(1普通菜 2 主菜 3 明细菜) /// /// 是否套菜(1普通菜 2 主菜 3 明细菜) /// [JsonProperty(PropertyName = "isSuit")] public int Issuit { get { return isSuit; } set { isSuit = value; } } #endregion #region suitId 套菜ID /// /// 套菜ID /// [JsonProperty(PropertyName = "suitId")] public string Suitid { get { return suitId; } set { suitId = value; } } #endregion #region saleDate 销售时间 /// /// 销售时间 /// [JsonProperty(PropertyName = "saleDate")] public string Saledate { get { return saleDate; } set { saleDate = value; } } #endregion #region amount 消费金额 /// /// 消费金额 /// [JsonProperty(PropertyName = "amount")] public decimal Amount { get { return amount; } set { amount = value; } } #endregion #region discount 优惠率 /// /// 优惠率 /// [JsonProperty(PropertyName = "discount")] public decimal Discount { get { return discount; } set { discount = value; } } #endregion #region discountTotal 优惠额 /// /// 优惠额 /// [JsonProperty(PropertyName = "discountTotal")] public decimal Discounttotal { get { return discountTotal; } set { discountTotal = value; } } #endregion #region receivable 应收金额 /// /// 应收金额 /// [JsonProperty(PropertyName = "receivable")] public decimal Receivable { get { return receivable; } set { receivable = value; } } #endregion #region addPriceTotal 加价金额 /// /// 加价金额 /// [JsonProperty(PropertyName = "addPriceTotal")] public decimal Addpricetotal { get { return addPriceTotal; } set { addPriceTotal = value; } } #endregion #region discountAddTotal 加价优惠金额 /// /// 加价优惠金额 /// [JsonProperty(PropertyName = "discountAddTotal")] public decimal Discountaddtotal { get { return discountAddTotal; } set { discountAddTotal = value; } } #endregion #region amountAddTotal 加价消费金额 /// /// 加价消费金额 /// [JsonProperty(PropertyName = "amountAddTotal")] public decimal Amountaddtotal { get { return amountAddTotal; } set { amountAddTotal = value; } } #endregion #region amountTotal 消费总额(消费金额+加价总额) /// /// 消费总额(消费金额+加价总额) /// [JsonProperty(PropertyName = "amountTotal")] public decimal Amounttotal { get { return amountTotal; } set { amountTotal = value; } } #endregion #region receivableTotal 应收总额(应收金额+加价应收总额) /// /// 应收总额(应收金额+加价应收总额) /// [JsonProperty(PropertyName = "receivableTotal")] public decimal Receivabletotal { get { return receivableTotal; } set { receivableTotal = value; } } #endregion #region packageFee 餐盒费 /// /// 餐盒费 /// [JsonProperty(PropertyName = "packageFee")] public decimal Packagefee { get { return packageFee; } set { packageFee = value; } } #endregion #region lineNo 行号 /// /// 行号 /// [JsonProperty(PropertyName = "lineNo")] public int Lineno { get { return lineNo; } set { lineNo = value; } } #endregion } }