|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NPoco;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Entity
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
[TableName("pos_kit_product")]
|
|
|
|
|
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
|
|
|
|
|
public class KitProduct : BaseEntity
|
|
|
|
|
{
|
|
|
|
|
public KitProduct()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
[Column("tenantId")]
|
|
|
|
|
public string TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
[Column("storeId")]
|
|
|
|
|
public string StoreId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 商品Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "productId")]
|
|
|
|
|
[Column("productId")]
|
|
|
|
|
public string ProductId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否厨打(0否1是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "chudaFlag")]
|
|
|
|
|
[Column("chudaFlag")]
|
|
|
|
|
public string ChudaFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 厨打方案
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "chuda")]
|
|
|
|
|
[Column("chuda")]
|
|
|
|
|
public string Chuda { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否出品(0否1是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "chupinFlag")]
|
|
|
|
|
[Column("chupinFlag")]
|
|
|
|
|
public string ChupinFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出品方案
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "chupin")]
|
|
|
|
|
[Column("chupin")]
|
|
|
|
|
public string Chupin { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否厨打标签打印(0否1是)
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "labelFlag")]
|
|
|
|
|
[Column("labelFlag")]
|
|
|
|
|
public string LabelFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 厨打标签打印方案
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "labelValue")]
|
|
|
|
|
[Column("labelValue")]
|
|
|
|
|
public string LabelValue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扩展字段1
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ext1")]
|
|
|
|
|
[Column("ext1")]
|
|
|
|
|
public string Ext1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扩展字段2
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ext2")]
|
|
|
|
|
[Column("ext2")]
|
|
|
|
|
public string Ext2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 扩展字段3
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ext3")]
|
|
|
|
|
[Column("ext3")]
|
|
|
|
|
public string Ext3 { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|