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.

72 lines
1.8 KiB
C#

9 months ago
using Newtonsoft.Json;
using NPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.Entity.Stock
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
[TableName("pos_product_type")]
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
public class FoodMaterialSeriesEntity
{
/// <summary>
/// 类别ID
/// </summary>
[JsonProperty(PropertyName = "id")]
[Column("id")]
public string Id { get; set; }
/// <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 = "name")]
[Column("name")]
public string Name { get; set; }
/// <summary>
/// 父编码
/// </summary>
[JsonProperty(PropertyName = "parentId")]
[Column("parentId")]
public string ParentId { get; set; }
/// <summary>
/// 父类别路径
/// </summary>
[JsonProperty(PropertyName = "path")]
[Column("path")]
public string Path { get; set; }
/// <summary>
/// 品类颜色
/// </summary>
[JsonProperty(PropertyName = "color")]
[Column("color")]
public string Color { get; set; }
/// <summary>
/// 商品记录总数
/// </summary>
[JsonProperty(PropertyName = "products")]
[Column("products")]
public int Products { get; set; }
}
}