using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 在制品工序作业中产品序列号 /// [SugarTable("prd_onwip_rcard")] public partial class PrdOnwipRcard : BaseEntity { public PrdOnwipRcard() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 工单代码 /// public string mo_code { get; set; } = string.Empty; /// /// 产品代码 /// public string item_code { get; set; } = string.Empty; /// /// 产品序列号 /// public string r_card { get; set; } = string.Empty; /// /// 工序代码 /// public string op_code { get; set; } = string.Empty; /// /// 岗位代码 /// public string station_code { get; set; } = string.Empty; /// /// 开始作业时间 /// public DateTime begin_time { 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; } }