using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// KoubeiCateringOrderInfoCreateModel Data Structure. /// [Serializable] public class KoubeiCateringOrderInfoCreateModel : AopObject { /// /// 商户业务类型:DINNER-正餐、SNACK-快餐 /// [XmlElement("business_type")] public string BusinessType { get; set; } /// /// 订单渠道:ISV,ElEME /// [XmlElement("channel")] public string Channel { get; set; } /// /// 就餐类型:FOR_HERE—堂食、TAKE_OUT-外卖、TO_GO-外带 /// [XmlElement("dinner_type")] public string DinnerType { get; set; } /// /// 订单菜明细列表 /// [XmlArray("dish_details")] [XmlArrayItem("kb_pos_order_dish_detail")] public List DishDetails { get; set; } /// /// 扩展信息,json对象格式,key和value都为字符串 /// [XmlElement("ext_info")] public string ExtInfo { get; set; } /// /// 备注 /// [XmlElement("memo")] public string Memo { get; set; } /// /// 开台操作员ID /// [XmlElement("operator")] public string Operator { get; set; } /// /// 点餐方式:POS-pos点餐、SCAN-扫码点菜、PLATFORM-平台(外卖类的) /// [XmlElement("order_style")] public string OrderStyle { get; set; } /// /// 下单时间,格式yyyy-mm-dd hh:mm:ss /// [XmlElement("order_time")] public string OrderTime { get; set; } /// /// 原反结订单的设备号 /// [XmlElement("org_dv_sn")] public string OrgDvSn { get; set; } /// /// 原反结订单的pos本地订单号 /// [XmlElement("org_out_biz_no")] public string OrgOutBizNo { get; set; } /// /// 其他杂费,以元为单位,精确到分 /// [XmlElement("other_amount")] public string OtherAmount { get; set; } /// /// 打包费,以元为单位,精确到分 /// [XmlElement("packing_amount")] public string PackingAmount { get; set; } /// /// 用餐人数 /// [XmlElement("people_num")] public long PeopleNum { get; set; } /// /// pos业务订单外部主键信息 /// [XmlElement("pos_order_key")] public PosOrderKey PosOrderKey { get; set; } /// /// 服务费,以元为单位,精确到分 /// [XmlElement("service_amount")] public string ServiceAmount { get; set; } /// /// 口碑体系内的门店ID /// [XmlElement("shop_id")] public string ShopId { get; set; } /// /// 开台时间,格式yyyy-mm-dd hh:mm:ss /// [XmlElement("table_time")] public string TableTime { get; set; } /// /// 取餐号码,示例: 桌号:04,令牌:13,取餐号:5100,配送:2018012912312312321(比如饿了么订单号) /// [XmlElement("take_no")] public string TakeNo { get; set; } /// /// 取餐类型:TABLE-桌号,TOKEN-令牌,NO-取餐号,DISPATCH-配送(仅针对外卖) /// [XmlElement("take_style")] public string TakeStyle { get; set; } } }