using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.GuangChang { /// /// 美食广场订单商品信息 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class VposOrderProduct { /// /// 订单ID /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// /// 订单ID /// [JsonProperty(PropertyName = "clientId")] public string ClientId { get; set; } /// /// 父记录ID /// [JsonProperty(PropertyName = "parentId")] public string ParentId { get; set; } /// /// 主单ID /// [JsonProperty(PropertyName = "ticketId")] public string TicketId { get; set; } /// /// 菜品ID /// [JsonProperty(PropertyName = "productId")] public string ProductId { get; set; } /// /// 菜品编号 /// [JsonProperty(PropertyName = "productNo")] public string ProductNo { get; set; } /// /// 菜品名称 /// [JsonProperty(PropertyName = "productName")] public string ProductName { get; set; } /// /// 菜品单位 /// [JsonProperty(PropertyName = "productUnitId")] public string ProductUnitId { get; set; } /// /// 菜品单位名 /// [JsonProperty(PropertyName = "productUnitName")] public string ProductUnitName { get; set; } /// /// 顶级分类ID /// [JsonProperty(PropertyName = "seriesId")] public string SeriesId { get; set; } /// /// 顶级分类名称 /// [JsonProperty(PropertyName = "seriesName")] public string SeriesName { get; set; } /// /// 顶级分类名称 /// [JsonProperty(PropertyName = "typePath")] public string TypePath { get; set; } /// /// 顶级分类名称 /// [JsonProperty(PropertyName = "typeId")] public string TypeId { get; set; } /// /// 类别名 /// [JsonProperty(PropertyName = "typeName")] public string TypeName { get; set; } /// /// 规格ID /// [JsonProperty(PropertyName = "specId")] public string SpecId { get; set; } /// /// 规格名称 /// [JsonProperty(PropertyName = "specName")] public string SpecName { get; set; } /// /// 数量 /// [JsonProperty(PropertyName = "count")] public decimal Count { get; set; } /// /// 数量 /// [JsonProperty(PropertyName = "rcount")] public decimal Rcount { get; set; } /// /// 可退数量 /// [JsonIgnore] public decimal NowCount { get; set; } /// /// 退款数量 /// [JsonIgnore] public decimal RfCount { get; set; } /// /// 退款金额 /// [JsonIgnore] public decimal RfAmount { get; set; } /// /// 销售价格 /// [JsonProperty(PropertyName = "price")] public decimal Price { get; set; } /// /// 菜品原价 /// [JsonProperty(PropertyName = "priceOrg")] public decimal PriceOrg { get; set; } /// /// 折后价格 /// [JsonProperty(PropertyName = "discountPrice")] public decimal DiscountPrice { get; set; } /// /// 是否套菜(1普通菜 2 主菜 3 明细菜) /// [JsonProperty(PropertyName = "isSuit")] public int IsSuit { get; set; } /// /// 是否套菜 /// [JsonIgnore] public string RowState { get; set; } /// /// 套菜ID /// [JsonProperty(PropertyName = "suitId")] public string SuitId { get; set; } /// /// 消费金额 /// [JsonProperty(PropertyName = "amount")] public decimal Amount { get; set; } /// /// 优惠率 /// [JsonProperty(PropertyName = "discount")] public decimal Discount { get; set; } /// /// 优惠额 /// [JsonProperty(PropertyName = "discountTotal")] public decimal DiscountTotal { get; set; } /// /// 应收金额 /// [JsonProperty(PropertyName = "receivable")] public decimal Receivable { get; set; } /// /// 加价金额 /// [JsonProperty(PropertyName = "addPriceTotal")] public decimal AddPriceTotal { get; set; } /// /// 加价优惠金额 /// [JsonProperty(PropertyName = "discountAddTotal")] public decimal DiscountAddTotal { get; set; } /// /// 加价消费金额 /// [JsonProperty(PropertyName = "amountAddTotal")] public decimal AmountAddTotal { get; set; } /// /// 消费总额(消费金额+加价总额) /// [JsonProperty(PropertyName = "amountTotal")] public decimal AmountTotal { get; set; } /// /// 应收总额(应收金额+加价应收总额) /// [JsonProperty(PropertyName = "receivableTotal")] public decimal ReceivableTotal { get; set; } /// /// 行号 /// [JsonProperty(PropertyName = "lineNo")] public decimal LineNo { get; set; } /// /// 做法明细 /// [JsonIgnore] public List MakeInfo; } }