using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 包装箱号和产品序列号的关系日志 /// [SugarTable("prd_carton_rcard_log")] public partial class PrdCartonRcardLog : BaseEntity { public PrdCartonRcardLog() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 箱号 /// public string carton_no { get; set; } = string.Empty; /// /// 产品序列号 /// public string r_card { get; set; } = string.Empty; /// /// 产品序列号数量 /// public decimal relation_qty { get; set; } /// /// 工单代码 /// public string mo_code { get; set; } = string.Empty; /// /// 产品代码 /// public string item_code { get; set; } = string.Empty; /// /// 包装用户名称 /// public string pack_user_name { get; set; } = string.Empty; /// /// 包装时间 /// public DateTime pack_time { get; set; } = DateTime.Now; /// /// 拆解用户名称 /// public string? remove_user_name { get; set; } /// /// 拆解时间 /// public DateTime? remove_time { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 时间戳 /// public string? 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? extras { get; set; } }