using System; using System.Linq; using System.Text; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities { /// ///工单产品序列号操作记录表 /// [SugarTable("prd_mo_rcard_history")] public partial class PrdMoRcardHistory { public PrdMoRcardHistory(){ } /// /// Desc:编号 /// Default: /// Nullable:False /// [SugarColumn(IsPrimaryKey=true)] public string id {get;set;} = SnowflakeIdHelper.NextId(); /// /// Desc:租户ID /// Default:NULL::character varying /// Nullable:True /// public string? tenant_id {get;set;} /// /// Desc:所属组织 /// Default:NULL::character varying /// Nullable:True /// public string? org_id {get;set;} /// /// Desc:工单ID /// Default: /// Nullable:False /// public string mo_id {get;set;} = string.Empty; /// /// Desc:工单代码 /// Default: /// Nullable:False /// public string mo_code {get;set;} = string.Empty; /// /// Desc:产品序列号 /// Default: /// Nullable:False /// public string r_card {get;set;} = string.Empty; /// /// Desc:条码操作: REPRINT-补印 SCRAP-报废 /// Default: /// Nullable:False /// public string operation {get;set;} = string.Empty; /// /// Desc:操作申请人ID /// Default: /// Nullable:False /// public string apply_user_id {get;set;} = string.Empty; /// /// Desc:操作申请人名称 /// Default: /// Nullable:False /// public string apply_user_name {get;set;} = string.Empty; /// /// Desc:操作申请原因 /// Default: /// Nullable:False /// public string apply_reason {get;set;} = string.Empty; /// /// Desc:操作申请日期 /// Default: /// Nullable:False /// public DateTime apply_date {get;set;} /// /// Desc:时间戳 /// Default:NULL::character varying /// Nullable:True /// public string? time_stamp {get;set;} /// /// Desc:扩展字段 /// Default: /// Nullable:True /// public string? extras {get;set;} /// /// Desc:创建用户 /// Default:NULL::character varying /// Nullable:True /// public string? create_id {get;set;} /// /// Desc:创建时间 /// Default: /// Nullable:True /// public DateTime? create_time {get;set;} /// /// Desc:修改用户 /// Default:NULL::character varying /// Nullable:True /// public string? modify_id {get;set;} /// /// Desc:修改时间 /// Default: /// Nullable:True /// public DateTime? modify_time {get;set;} } }