using System; using System.Linq; using System.Text; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///领料商品详情表 /// [SugarTable("WMSaleDetail", "Jiepei_WMS")] public class WMSaleDetail { public WMSaleDetail() { } /// /// 主键id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 领料Id /// public int SaleId { get; set; } /// /// 商品Id /// public int ProductId { get; set; } /// /// 商品规格Id /// public int ProductSpecId { get; set; } /// /// 采购数量 /// public decimal? Quantity { get; set; } /// /// 采购总价 /// public decimal Price { get; set; } /// /// 金额 /// public decimal Amount { get; set; } /// /// 出库数量 /// public decimal? ActualNum { get; set; } /// /// 审批数量 /// public decimal? ApprovalNum { get; set; } /// /// 商品状态 /// public int? Status { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 领料人 /// public string PickerIds { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// 创建时间 /// public DateTime? CreateTime { get; set; } /// /// 主体id /// public int SysOrgId { get; set; } /// /// 商品名称 /// [SugarColumn(IsIgnore = true)] public string ProductName { get; set; } /// /// 商品编号 /// [SugarColumn(IsIgnore = true)] public string ProductCode { get; set; } /// /// 商品规格 /// [SugarColumn(IsIgnore = true)] public string ProductSpec { get; set; } /// /// 商品单位 /// [SugarColumn(IsIgnore = true)] public string ProductUnit { get; set; } /// /// 审批数量 /// [SugarColumn(IsIgnore = true)] public decimal? CheckNum { get; set; } /// /// 库存 /// [SugarColumn(IsIgnore = true)] public decimal? StockNum { get; set; } /// /// 最近一周用量 /// [SugarColumn(IsIgnore = true)] public decimal? WeekNum { get; set; } /// /// 最近一月用量 /// [SugarColumn(IsIgnore = true)] public decimal? MonthNum { get; set; } /// /// 商品状态 /// [SugarColumn(IsIgnore = true)] public string ProductStatus { get; set; } /// /// 是否审核通过 /// [SugarColumn(IsIgnore = true)] public int Checked { get; set; } /// /// 备注 /// [SugarColumn(IsIgnore = true)] public string SaleDetailRemark { get; set; } /// /// 实发数量 /// [SugarColumn(IsIgnore = true)] public decimal? GiveNum { get; set; } } }