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
{
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
[TableName("pos_product_burden")]
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
public class ProductBurden : BaseEntity
{
public ProductBurden()
{
}
/// <summary>
/// 租户ID
/// </summary>
[JsonProperty(PropertyName = "tenantId")]
[Column("tenantId")]
public string TenantId { get; set; }
/// <summary>
/// 产品ID
/// </summary>
[JsonProperty(PropertyName = "productId")]
[Column("productId")]
public string ProductId { get; set; }
/// <summary>
/// 规格ID
/// </summary>
[JsonProperty(PropertyName = "specId")]
[Column("specId")]
public string SpecId { get; set; }
/// <summary>
/// 配料产品ID
/// </summary>
[JsonProperty(PropertyName = "burdenProductId")]
[Column("burdenProductId")]
public string BurdenProductId { get; set; }
/// <summary>
/// 配料产品规格ID
/// </summary>
[JsonProperty(PropertyName = "burdenSpecId")]
[Column("burdenSpecId")]
public string BurdenSpecId { get; set; }
/// <summary>
/// 销售单位ID
/// </summary>
[JsonProperty(PropertyName = "salesUnitId")]
[Column("salesUnitId")]
public string SalesUnitId { get; set; }
/// <summary>
/// 销售量
/// </summary>
[JsonProperty(PropertyName = "salesAmount")]
[Column("salesAmount")]
public decimal SalesAmount { get; set; }
}
}