using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.BasicData.Entities; /// /// 工作中心与产线关系表 /// [SugarTable("bas_workcenter_line")] public partial class BasWorkcenterLine : BaseEntity { public BasWorkcenterLine() { id = SnowflakeIdHelper.NextId(); } /// /// 所属组织 /// public string? org_id { get; set; } /// /// 工作中心ID /// public string workcenter_id { get; set; } = string.Empty; /// /// 工作中心代码 /// public string workcenter_code { get; set; } = string.Empty; /// /// 产线ID,PRODUCTIONLINE.ID /// public string productionline_id { get; set; } = string.Empty; /// /// 产线代码,PRODUCTIONLINE.PRODUCTIONLINECODE /// public string productionline_code { get; set; } = string.Empty; /// /// 时间戳(用于并发处理) /// public string? timestamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } }