using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// KdsDishGroupInfoDTO Data Structure. /// [Serializable] public class KdsDishGroupInfoDTO : AopObject { /// /// 菜品制作耗时,单位分钟 /// [XmlElement("cook_cost")] public long CookCost { get; set; } /// /// 口碑菜品ID /// [XmlElement("dish_id")] public string DishId { get; set; } /// /// 菜品名称 /// [XmlElement("dish_name")] public string DishName { get; set; } /// /// 口碑菜品skuID /// [XmlElement("dish_sku_id")] public string DishSkuId { get; set; } /// /// 菜品时间:非预约单是接单时间,预约单是预约时间 /// [XmlElement("dish_time")] public string DishTime { get; set; } /// /// 菜品单位 /// [XmlElement("dish_unit")] public string DishUnit { get; set; } /// /// 扩展字段 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 菜品一次性可制作最大份数 /// [XmlElement("max_cook_num")] public long MaxCookNum { get; set; } /// /// 备注 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 外部菜品ID /// [XmlElement("out_dish_id")] public string OutDishId { get; set; } /// /// 外部菜品信息(JSON格式) /// [XmlElement("out_dish_info")] public string OutDishInfo { get; set; } /// /// 外部菜品skuID /// [XmlElement("out_dish_sku_id")] public string OutDishSkuId { get; set; } /// /// 加料的归属菜的out_dish_id. 备注: 仅套餐子菜加料需要, 单菜加料不需要填写. /// [XmlElement("out_parent_id")] public string OutParentId { get; set; } /// /// 做法描述 /// [XmlElement("practice_desc")] public string PracticeDesc { get; set; } /// /// 做法ID /// [XmlElement("practice_id")] public string PracticeId { get; set; } /// /// 菜品数量(注意,此处的数量是指一份套餐下,子菜的数量,不需要乘以套餐的份数,单品加料同理) /// [XmlElement("quantity")] public long Quantity { get; set; } /// /// 销售属性(预留字段) /// [XmlElement("sales_properties")] public string SalesProperties { get; set; } /// /// sku规格描述 /// [XmlElement("sku_spec_desc")] public string SkuSpecDesc { get; set; } /// /// 规格ID /// [XmlElement("spec_id")] public string SpecId { get; set; } /// /// 菜品类型. "SINGLE": 单品; "SIDE": 加料; "COMBO": 套餐"; "COMBO_SINGLE": 套餐内单品 type 校验规则: 1. 单品/加料 type=SINGLE/SIDE 2. 套餐: 一级type=COMBO, dish_group_info里的子菜type=COMBO_SINGLE 3. 无法同步到口碑的套餐 (只能打平后同步). type=COMBO_SINGLE /// [XmlElement("type")] public string Type { get; set; } } }