using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 载具台账物料明细表 /// [SugarTable("wms_carry_mat")] public partial class WmsCarryMat : BaseEntity { public WmsCarryMat() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织ID /// public string org_id { get; set; } = string.Empty; /// /// 上级载具ID /// public string carry_id { get; set; } = string.Empty; /// /// 物料ID /// public string material_id { get; set; } = string.Empty; /// /// 物料代码 /// public string material_code { get; set; } = string.Empty; /// /// 批次 /// public string? code_batch { get; set; } /// /// 物料数量 /// public int qty { get; set; } /// /// 需要出库数量 /// public int need_qty { get; set; } /// /// 实际已出库数量 /// public int real_qty { get; set; } /// /// 行号 /// public int no { get; set; } /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 单位代码 /// public string unit_code { get; set; } = string.Empty; /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public DateTime time_stamp { get; set; } = DateTime.Now; /// /// 创建用户 /// public string create_id { get; set; } = string.Empty; /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } }