using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities.Entity; /// /// 采购订单表子表 /// [SugarTable("wms_purchase_order_d")] public partial class WmsPurchaseOrderD : BaseEntity { public WmsPurchaseOrderD() { id = SnowflakeIdHelper.NextId(); } /// /// 主表id /// public string? fk_wms_purchase_order_id { get; set; } /// /// 物料id /// public string? matcode_id { get; set; } /// /// 物料编号 /// public string? matcode { get; set; } /// /// 物料描述 /// public string? matspecification { get; set; } /// /// 单位 /// public string? unit { get; set; } /// /// 采购数量 /// public decimal? purchase_quantity { get; set; } /// /// 实收数量 /// public decimal? actual_quantity { get; set; } /// /// 库存地点ID /// public string? stock_location_id { get; set; } /// /// 库存地点 /// public string? stock_location { get; set; } /// /// 批次 /// public string? code_batch { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 交货日期 /// public string? delivery_date { get; set; } /// /// 净价 /// public string? net_price { get; set; } /// /// 货币 /// public string? currency { get; set; } /// /// 工厂 /// public string? factory { 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; } /// /// erp_line_pk /// public string? erp_line_pk { get; set; } /// /// 行号 /// public string? lineno { get; set; } /// /// 单位id /// public string? unit_id { get; set; } /// /// 是否赠品 /// public int? gift { get; set; } /// /// 供应商(辅助属性) /// public string? auxprop_gys { get; set; } /// /// 生产单位(厂商) /// public string? production_unit { get; set; } /// /// 规格 /// public string? material_specification { get; set; } /// /// 型号 /// public string? material_standard { get; set; } }