using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.ProductionMgr.Entities; /// /// 批次产品序列号 /// [SugarTable("prd_lot_rcard")] public partial class PrdLotRcard : BaseEntity { public PrdLotRcard() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 批次号 /// public string lot_no { get; set; } = string.Empty; /// /// 产品序列号 /// public string r_card { get; set; } = string.Empty; /// /// 工单代码 /// public string mo_code { get; set; } = string.Empty; /// /// 产品代码 /// public string item_code { get; set; } = string.Empty; /// /// 状态 /// public string status { get; set; } = string.Empty; /// /// 时间戳 /// 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; } }