namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse; /// /// 物料职责主数据(复刻 EmpWorkDutyMaster) /// [SugarTable("EmpWorkDutyMaster", "物料职责主数据(复刻 EmpWorkDutyMaster)")] public class AdoS0EmpWorkDutyMaster { [SugarColumn(ColumnName = "rec_id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")] public long CompanyRefId { get; set; } [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")] public long FactoryRefId { get; set; } [SugarColumn(ColumnName = "domain_code", ColumnDescription = "工厂域编码", Length = 50)] public string DomainCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "employee", ColumnDescription = "员工编码", Length = 100)] public string Employee { get; set; } = string.Empty; [SugarColumn(ColumnName = "item_num1", ColumnDescription = "物料编码起", Length = 100, IsNullable = true)] public string? ItemNum1 { get; set; } [SugarColumn(ColumnName = "item_num2", ColumnDescription = "物料编码止", Length = 100, IsNullable = true)] public string? ItemNum2 { get; set; } [SugarColumn(ColumnName = "location", ColumnDescription = "库位编码", Length = 100, IsNullable = true)] public string? Location { get; set; } [SugarColumn(ColumnName = "prod_line", ColumnDescription = "生产线编码", Length = 100, IsNullable = true)] public string? ProdLine { get; set; } [SugarColumn(ColumnName = "duty", ColumnDescription = "职责编码(原始值)", Length = 500, IsNullable = true)] public string? Duty { get; set; } [SugarColumn(ColumnName = "emp_type", ColumnDescription = "员工类型", Length = 50, IsNullable = true)] public string? EmpType { get; set; } [SugarColumn(ColumnName = "ufld2", ColumnDescription = "自定义字段2", Length = 255, IsNullable = true)] public string? Ufld2 { get; set; } [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 100, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } = DateTime.Now; [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 100, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } /// 列表展示:员工姓名(不落库) [SugarColumn(IsIgnore = true)] public string? EmployeeName { get; set; } /// 列表展示:库位+说明(不落库) [SugarColumn(IsIgnore = true)] public string? LocationName { get; set; } /// 列表展示:生产线+说明(不落库) [SugarColumn(IsIgnore = true)] public string? LineName { get; set; } /// 列表展示:职责中文翻译(不落库) [SugarColumn(IsIgnore = true)] public string? DutyDisplay { get; set; } }