namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing; /// /// 工作中心主数据(源平台 WorkCtrMaster)。 /// [SugarTable("WorkCtrMaster", "工作中心主数据表")] [SugarIndex("uk_WorkCtrMaster_domain_ctr", nameof(Domain), OrderByType.Asc, nameof(WorkCtr), OrderByType.Asc, IsUnique = true)] public class AdoS0WorkCtrMaster { [SugarColumn(ColumnName = "id", ColumnDescription = "工作中心主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "work_ctr", ColumnDescription = "工作中心编码", Length = 100)] public string WorkCtr { get; set; } = string.Empty; [SugarColumn(ColumnName = "descr", ColumnDescription = "工作中心描述", Length = 255, IsNullable = true)] public string? Descr { get; set; } [SugarColumn(ColumnName = "department", ColumnDescription = "所属部门编码", Length = 100, IsNullable = true)] public string? Department { get; set; } [SugarColumn(ColumnName = "is_active", ColumnDescription = "状态", ColumnDataType = "boolean")] public bool IsActive { get; set; } = true; [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)] public string Domain { get; set; } = string.Empty; [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } }