using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 工单产品序列号操作记录表 /// [SugarTable("prd_mo_rcard_history")] public partial class PrdMoRcardHistory : BaseEntity { public PrdMoRcardHistory() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 工单ID /// public string mo_id { get; set; } = string.Empty; /// /// 工单代码 /// public string mo_code { get; set; } = string.Empty; /// /// 产品序列号 /// public string r_card { get; set; } = string.Empty; /// /// 条码操作: REPRINT-补印 SCRAP-报废 /// public string operation { get; set; } = string.Empty; /// /// 操作申请人ID /// public string apply_user_id { get; set; } = string.Empty; /// /// 操作申请人名称 /// public string apply_user_name { get; set; } = string.Empty; /// /// 操作申请原因 /// public string apply_reason { get; set; } = string.Empty; /// /// 操作申请日期 /// public DateTime apply_date { get; set; } = DateTime.Now; /// /// 时间戳 /// public string? time_stamp { get; set; } /// /// 扩展字段 /// public string? extras { 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; } }