| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
- /// <summary>
- /// 物料职责主数据(复刻 EmpWorkDutyMaster)
- /// </summary>
- [SugarTable("EmpWorkDutyMaster", "物料职责主数据(复刻 EmpWorkDutyMaster)")]
- public class AdoS0EmpWorkDutyMaster : ITenantIdFilter
- {
- [SugarColumn(ColumnName = "RecID", 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", 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 = "ItemNum1", ColumnDescription = "物料编码起", Length = 100, IsNullable = true)]
- public string? ItemNum1 { get; set; }
- [SugarColumn(ColumnName = "ItemNum2", ColumnDescription = "物料编码止", Length = 100, IsNullable = true)]
- public string? ItemNum2 { get; set; }
- [SugarColumn(ColumnName = "ItemNum", ColumnDescription = "单物料编码", Length = 100, IsNullable = true)]
- public string? ItemNum { get; set; }
- [SugarColumn(ColumnName = "Location", ColumnDescription = "库位编码", Length = 100, IsNullable = true)]
- public string? Location { get; set; }
- [SugarColumn(ColumnName = "ProdLine", 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 = "EmpType", 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 = "CreateUser", ColumnDescription = "创建人", Length = 100, IsNullable = true)]
- public string? CreateUser { get; set; }
- [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间")]
- public DateTime CreateTime { get; set; } = DateTime.Now;
- [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", Length = 100, IsNullable = true)]
- public string? UpdateUser { get; set; }
- [SugarColumn(ColumnName = "UpdateTime", ColumnDescription = "更新时间", IsNullable = true)]
- public DateTime? UpdateTime { get; set; }
- /// <summary>列表展示:员工姓名(不落库)</summary>
- [SugarColumn(IsIgnore = true)]
- public string? EmployeeName { get; set; }
- /// <summary>列表展示:库位+说明(不落库)</summary>
- [SugarColumn(IsIgnore = true)]
- public string? LocationName { get; set; }
- /// <summary>列表展示:生产线+说明(不落库)</summary>
- [SugarColumn(IsIgnore = true)]
- public string? LineName { get; set; }
- /// <summary>列表展示:职责中文翻译(不落库)</summary>
- [SugarColumn(IsIgnore = true)]
- public string? DutyDisplay { get; set; }
- /// <summary>列表展示:物料范围说明(不落库)</summary>
- [SugarColumn(IsIgnore = true)]
- public string? ItemNumDisplay { get; set; }
- [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
- public long? TenantId { get; set; }
- }
|