NewGaoKaoApi/PaymentSDK/AliPay/Domain/KdsInfoModel.cs

89 lines
2.6 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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