using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 出库申请明细表 /// [SugarTable("wms_outstock_d")] public partial class WmsOutstockD : BaseEntity { public WmsOutstockD() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织ID /// public string org_id { get; set; } = string.Empty; /// /// 出库单ID /// public string bill_id { get; set; } = string.Empty; /// /// 行号 /// public int bill_line { get; set; } /// /// 明细状态 /// public int line_status { get; set; } /// /// 库位ID /// public string location_id { 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 string unit_code { get; set; } = string.Empty; /// /// 出库需求数量 /// public decimal pr_qty { get; set; } /// /// 实际出库数量 /// public decimal qty { get; set; } /// /// 要求出库日期(销售出库为交期) /// public DateTime delivery_date { get; set; } = DateTime.Now; /// /// 发料仓库 /// public string warehouse_id { get; set; } = string.Empty; /// /// 不含税单价 /// public decimal? price { get; set; } /// /// 含税单价 /// public decimal? tax_price { get; set; } /// /// 不含税金额 /// public decimal? amount { get; set; } /// /// 含税金额 /// public decimal? all_amount { get; set; } /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单单据类型 /// public int? source_type { get; set; } /// /// 来源单据行号 /// public int? source_line { get; set; } /// /// 来源单据明细ID /// public string? source_detail_id { get; set; } /// /// 生产工单号 /// public string? mo_code { get; set; } /// /// 生产工单BOM明细Id /// public string? mo_bom_detail_id { get; set; } /// /// 生产工单行号 /// public int? mo_line { get; set; } /// /// 打印数量 /// public decimal print_qty { get; set; } /// /// 扫描数量 /// public decimal scan_qty { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public string? time_stamp { get; set; } /// /// 创建用户 /// public string create_id { get; set; } = string.Empty; /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 批次 /// public string? code_batch { get; set; } /// /// 载具ID /// public string? carry_id { get; set; } /// /// 载具编号 /// public string? carry_code { get; set; } }