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.
100 lines
2.5 KiB
C#
100 lines
2.5 KiB
C#
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_suitdetail")]
|
|
[PrimaryKey(new string[] { "id" } , AutoIncrement = false)]
|
|
public class ProductSuitDetail : BaseEntity
|
|
{
|
|
public ProductSuitDetail()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户ID
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
[Column("tenantId")]
|
|
public string TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品Id
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "suitId")]
|
|
[Column("suitId")]
|
|
public string SuitId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 商品父ID
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "suitProductId")]
|
|
[Column("suitProductId")]
|
|
public string SuitProductId { 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>
|
|
/// 数量
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "quantity")]
|
|
[Column("quantity")]
|
|
public int Quantity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 加价
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "addPrice")]
|
|
[Column("addPrice")]
|
|
public decimal AddPrice { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否默认(0否1是)
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "defaultflag")]
|
|
[Column("defaultFlag")]
|
|
public int DefaultFlag { 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; }
|
|
}
|
|
}
|