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.

113 lines
2.8 KiB
C#

9 months ago
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_product_makedetail")]
[PrimaryKey(new string[] { "id" } , AutoIncrement = false)]
public class ProductMakeDetail:BaseEntity
{
public ProductMakeDetail()
{
}
/// <summary>
/// 租户ID
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 编号
/// </summary>
[JsonProperty(PropertyName = "no")]
[Column("no")]
public string No { get; set; }
/// <summary>
/// 拼音简码
/// </summary>
[JsonProperty(PropertyName = "spell")]
[Column("spell")]
public string Spell { get; set; }
/// <summary>
/// 做法类型
/// </summary>
[JsonProperty(PropertyName = "typeId")]
[Column("typeId")]
public string TypeId { get; set; }
/// <summary>
/// 做法加价
/// </summary>
[JsonProperty(PropertyName = "addPrice")]
[Column("addPrice")]
public decimal AddPrice { get; set; }
/// <summary>
/// 管理数量(0否1是)
/// </summary>
[JsonProperty(PropertyName = "qtyFlag")]
[Column("qtyFlag")]
public int QtyFlag { get; set; }
/// <summary>
/// 做法说明
/// </summary>
[JsonProperty(PropertyName = "description")]
[Column("memo")]
public string Memo { get; set; }
/// <summary>
/// 显示序号
/// </summary>
[JsonProperty(PropertyName = "orderNo")]
[Column("orderNo")]
public int OrderNo { get; set; }
/// <summary>
/// 做法颜色
/// </summary>
[JsonProperty(PropertyName = "color")]
[Column("color")]
public string Color { get; set; }
/// <summary>
/// 是否私有做法(0-否;1-是;)
/// </summary>
[JsonProperty(PropertyName = "prvFlag")]
[Column("prvFlag")]
public int PrvFlag { 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; }
}
}