You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
3.8 KiB
C#

9 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using NPoco;
namespace JwKdsV.Entity.Product
{
/// <summary>
/// 套菜明细
/// </summary>
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class ProductExt : Product
{
/// <summary>
/// 分类名称
/// </summary>
[JsonProperty(PropertyName = "typeName")]
[Column("typeName")]
public string TypeName { get; set; }
/// <summary>
/// 计量单位名称
/// </summary>
[JsonProperty(PropertyName = "unitName")]
[Column("unitName")]
public string UnitName { get; set; }
/// <summary>
/// 商品默认规格名称
/// </summary>
[JsonProperty(PropertyName = "specName")]
[Column("specName")]
public string SpecName { get; set; }
/// <summary>
/// 商品默认规格Id
/// </summary>
[JsonProperty(PropertyName = "specId")]
[Column("specId")]
public string SpecId { get; set; }
/// <summary>
/// 厨打方案
/// </summary>
[JsonProperty(PropertyName = "chuda")]
[Column("chuda")]
public string Chuda { get; set; }
/// <summary>
/// 厨打标识
/// </summary>
[JsonProperty(PropertyName = "chudaFlag")]
[Column("chudaFlag")]
public string ChudaFlag { get; set; }
/// <summary>
/// 出品方案
/// </summary>
[JsonProperty(PropertyName = "chupin")]
[Column("chupin")]
public string Chupin { get; set; }
/// <summary>
/// 出品标识
/// </summary>
[JsonProperty(PropertyName = "chupinFlag")]
[Column("chupinFlag")]
public string ChupinFlag { get; set; }
/// <summary>
/// 厨打标签标识
/// </summary>
[JsonProperty(PropertyName = "chuDaLabelFlag")]
[Column("chuDaLabelFlag")]
public string ChuDaLabelFlag { get; set; }
/// <summary>
/// 厨打标签方案
/// </summary>
[JsonProperty(PropertyName = "chuDaLabel")]
[Column("chuDaLabel")]
public string ChuDaLabel { get; set; }
/// <summary>
/// 厨显方案
/// </summary>
[JsonProperty(PropertyName = "chuxian")]
[Column("chuxian")]
public string Chuxian { get; set; }
/// <summary>
/// 厨显标识
/// </summary>
[JsonProperty(PropertyName = "chuxianFlag")]
[Column("chuxianFlag")]
public string ChuxianFlag { get; set; }
/// <summary>
/// 厨显超时(分钟)
/// </summary>
[JsonProperty(PropertyName = "chuxianTime")]
[Column("chuxianTime")]
public int ChuxianTime { get; set; }
/// <summary>
/// kds出品方案
/// </summary>
[JsonProperty(PropertyName = "kdsChupin")]
[Column("kdsChupin")]
public string KdsChupin { get; set; }
/// <summary>
/// kds出品标识
/// </summary>
[JsonProperty(PropertyName = "kdsChupinFlag")]
[Column("kdsChupinFlag")]
public string KdsChupinFlag { get; set; } = "1";
/// <summary>
/// 出品超时(分钟)
/// </summary>
[JsonProperty(PropertyName = "kdsChupinTime")]
[Column("kdsChupinTime")]
public int KdsChupinTime { get; set; }
/// <summary>
/// 沽清对象
/// </summary>
[JsonIgnore]
[Ignore]
public SaleClear SaleClear { get; set; }
/// <summary>
/// 分页使用
/// </summary>
[JsonIgnore]
[Ignore]
public int Pager { get; set; }
}
}