using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// KdsInfoModel Data Structure. /// [Serializable] public class KdsInfoModel : AopObject { /// /// 是否删除 false删除,true删除 /// [XmlElement("delete_flag")] public bool DeleteFlag { get; set; } /// /// 设备列表 /// [XmlArray("device_list")] [XmlArrayItem("kds_device_model")] public List DeviceList { get; set; } /// /// 就餐模式可多选枚举如下: TO_GO("TO_GO", "外带"), TAKE_OUT("TAKE_OUT", "外卖"), FOR_HERE("FOR_HERE", "堂食"), 全选回传ALL,ALL与其它类型不兼容 /// [XmlArray("dinner_type")] [XmlArrayItem("string")] public List DinnerType { get; set; } /// /// 是否有设备绑定,false无,true有 /// [XmlElement("has_device")] public bool HasDevice { get; set; } /// /// 是否有档口,false没有,true有 /// [XmlElement("has_stall")] public bool HasStall { get; set; } /// /// KDSID /// [XmlElement("kds_id")] public string KdsId { get; set; } /// /// KDS名称 /// [XmlElement("kds_name")] public string KdsName { get; set; } /// /// kds屏幕类型: ("COOK", "制作屏"), ("PREPARE", "备餐屏"), ("TAKE", "取餐屏"), /// [XmlElement("kds_type")] public string KdsType { get; set; } /// /// 是否打印,false不打印,true打印 /// [XmlElement("print_flag")] public bool PrintFlag { get; set; } /// /// kds绑定的打印机设备ID print_flag为true时,该字段必填 /// [XmlElement("printer_device_id")] public string PrinterDeviceId { get; set; } /// /// 打印机列表 /// [XmlArray("printer_list")] [XmlArrayItem("kds_printer_model")] public List PrinterList { get; set; } /// /// 门店ID /// [XmlElement("shop_id")] public string ShopId { get; set; } } }