using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 齐套出库主表 /// [SugarTable("wms_kittingout_h")] public partial class WmsKittingoutH : BaseEntity { public WmsKittingoutH() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织ID /// public string? org_id { get; set; } /// /// 齐套出库单号 /// public string bill_code { get; set; } = string.Empty; /// /// 出库单创建日期 /// public DateTime bill_date { get; set; } = DateTime.Now; /// /// 单据类型 /// public string bill_type { get; set; } = string.Empty; /// /// 单据状态 /// public string status { get; set; } = string.Empty; /// /// 业务类型 /// public string biz_type { get; set; } = string.Empty; /// /// 发料仓库ID /// public string warehouse_id { get; set; } = string.Empty; /// /// 库位ID /// public string? location_id { get; set; } /// /// 产品ID /// public string? material_id { get; set; } /// /// 产品编号 /// public string? material_code { get; set; } /// /// 齐套搭配方案ID /// public string? collocation_scheme_id { get; set; } /// /// 齐套搭配方案编号 /// public string collocation_scheme_code { get; set; } = string.Empty; /// /// 载具ID /// public string? carry_id { get; set; } /// /// 载具编号 /// public string? carry_code { get; set; } /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单据ID /// public string? source_code { 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 int seq { 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; } = string.Empty; /// /// 修改时间 /// public DateTime modify_time { get; set; } = DateTime.Now; }