using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 采购收货明细表 /// [SugarTable("wms_purchase_d")] public partial class WmsPurchaseD : BaseEntity { public WmsPurchaseD() { id = SnowflakeIdHelper.NextId(); } /// /// 采购收货单ID /// public string bill_id { get; set; } = string.Empty; /// /// 执行状态 /// public string line_status { get; set; } = string.Empty; /// /// 物品ID /// public string material_id { get; set; } = string.Empty; /// /// 物品代码 /// public string material_code { get; set; } = string.Empty; /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 采购数量 /// public decimal purchase_qty { get; set; } /// /// 已到货数量 /// public decimal purchase_prqty { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public DateTime? time_stamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 批次 /// public string? code_batch { get; set; } /// /// 流程任务Id /// public string? f_flowtaskid { get; set; } /// /// 流程引擎Id /// public string? f_flowid { get; set; } /// /// 本次到货数量 /// public decimal purchase_arriveqty { get; set; } /// /// 规格型号 /// [SugarColumn(IsIgnore = true)] public string? material_specification { get; set; } /// /// 箱号 /// [SugarColumn(IsIgnore = true)] public string? container_no { get; set; } /// /// 质检结果 /// public string? qc_res { get; set; } /// /// erp到货单子表pk /// public string erp_arriveorder_b_pk { get;set; } /// /// 已绑定数量 /// public decimal? bind_qty { get; set; } /// /// 单价 /// public decimal? price { get; set; } /// /// 是否赠品 /// public int? gift { get; set; } /// /// erp仓库类型 /// public string erp_wh_type { get; set; } public string lineno { get; set; } public string erp_purchase_order_d_pk { get; set; } public string erp_purchase_order_d_lineno { get; set; } /// /// 辅助属性(小批号) /// public string? auxprop_xph { get; set; } /// /// 供应商(辅助属性) /// public string? auxprop_gys { get; set; } /// /// 生产单位(厂商) /// public string? production_unit { get; set; } /// /// /// public DateTime? warehousing_time { get; set; } }