using FreeSql.DataAnnotations; using Newtonsoft.Json; using System; namespace BBWYB.Server.Model.Db.BBWY { /// /// 采购商品表 /// [Table(Name = "purchaseordersku", DisableSyncStructure = true)] public partial class PurchaseOrderSku { [Column(IsPrimary = true)] public long Id { get; set; } /// /// 打包耗材费 /// [Column(DbType = "decimal(18,2)")] public decimal? ConsumableAmount { get; set; } = 0.00M; /// /// 创建时间 /// [Column(DbType = "datetime")] public DateTime? CreateTime { get; set; } /// /// 头程运费 /// [Column(DbType = "decimal(18,2)")] public decimal? FirstFreight { get; set; } = 0.00M; /// /// 入仓费 /// [Column(DbType = "decimal(18,2)")] public decimal? InStorageAmount { get; set; } = 0.00M; /// /// Sku Logo /// public string Logo { get; set; } /// /// 单价 /// [Column(DbType = "decimal(18,2)")] public decimal? Price { get; set; } = 0.00M; /// /// 采购货款 /// [Column(DbType = "decimal(18,2)")] public decimal? ProductAmount { get; set; } [Column(StringLength = 100)] public string ProductId { get; set; } /// /// 采购金额(采购货款+采购运费) /// [Column(DbType = "decimal(18,2)")] public decimal? PurchaseAmount { get; set; } /// /// 采购运费 /// [Column(DbType = "decimal(18,2)")] public decimal? PurchaseFreight { get; set; } /// /// 采购单Id /// [Column(StringLength = 100)] public string PurchaseOrderId { get; set; } /// /// 采购方案Id /// public long? PurchaseSchemeId { get; set; } /// /// 采购SkuId串 /// [Column(StringLength = 500)] public string PurchaseSkuIds { get; set; } /// /// 质检费 /// [Column(DbType = "decimal(18,2)")] public decimal? QualityInspectionAmount { get; set; } = 0.00M; /// /// 采购数量 /// public int? Quantity { get; set; } /// /// 店铺Id /// public long? ShopId { get; set; } [Column(StringLength = 100)] public string SkuId { get; set; } /// /// Sku标题 /// public string SkuTitle { get; set; } [Column(MapType = typeof(int?))] public Enums.StockType? StockType { get; set; } /// /// 齐库任务Id /// public long? QiKuTaskId { get; set; } } }