using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 载具台账物料明细表 /// [SugarTable("wms_carry_mat")] public partial class WmsCarryMat : BaseEntity, IWmsCarryEntity { 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 decimal qty { get; set; } /// /// 需要出库数量 /// public decimal need_qty { get; set; } /// /// 实际已出库数量 /// public decimal 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; } /// /// 创建用户 /// 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? material_specification { get; set; } /// /// 箱号 /// public string? container_no { get; set; } }