using SqlSugar; namespace MES.Service.Modes; /// /// 部门 /// [SugarTable("SYS_DEPARTMENT")] public class SysDepartment { /// /// 公司 /// [SugarColumn(ColumnName = "COMPANY")] public string? Company { get; set; } /// /// 部门ID /// [SugarColumn(ColumnName = "DEPARTMENTID")] public decimal? Departmentid { get; set; } /// /// 部门编号 /// [SugarColumn(ColumnName = "DEPARTMENTCODE")] public string? Departmentcode { get; set; } /// /// 部门名称 /// [SugarColumn(ColumnName = "DEPARTMENTNAME")] public string? Departmentname { get; set; } /// /// 部门属性 /// [SugarColumn(ColumnName = "DEPEXTR1")] public string? Depextr1 { get; set; } /// /// 部门分组 /// [SugarColumn(ColumnName = "DEPEXTR2")] public string? Depextr2 { get; set; } /// /// WIP仓库 /// [SugarColumn(ColumnName = "DEPEXTR3")] public string? Depextr3 { get; set; } /// /// 是否禁用 /// [SugarColumn(ColumnName = "DEPEXTR4")] public string? Depextr4 { get; set; } /// /// 部门扩展字段5 /// [SugarColumn(ColumnName = "DEPEXTR5")] public string? Depextr5 { get; set; } /// /// 车间ID /// [SugarColumn(ColumnName = "WORKSHOP_NO")] public string? WorkshopNo { get; set; } /// /// 车间名 /// [SugarColumn(ColumnName = "WORKSHOP_NAME")] public string? WorkshopName { get; set; } /// /// 部门经理 /// [SugarColumn(ColumnName = "FMANAGER")] public string? Fmanager { get; set; } /// /// 工厂 /// [SugarColumn(ColumnName = "FACTORY")] public string? Factory { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "CREATE_BY")] public string? CreateBy { get; set; } /// /// 创建日期 /// [SugarColumn(ColumnName = "CREATE_DATE")] public DateTime? CreateDate { get; set; } /// /// 最后修改人 /// [SugarColumn(ColumnName = "LASTUPDATE_BY")] public string? LastupdateBy { get; set; } /// /// 最后修改日期 /// [SugarColumn(ColumnName = "LASTUPDATE_DATE")] public DateTime? LastupdateDate { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "REMARK")] public string? Remark { get; set; } /// /// [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] public decimal Id { get; set; } /// /// 生产车间 /// [SugarColumn(ColumnName = "PRODUCTION_WORKSHOP")] public string? ProductionWorkshop { get; set; } /// /// 物料属性 /// [SugarColumn(ColumnName = "MATERIAL_PROPERTI")] public string? MaterialProperti { get; set; } /// /// 自定义字段1 /// [SugarColumn(ColumnName = "REMARK1")] public string? Remark1 { get; set; } /// /// 自定义字段2 /// [SugarColumn(ColumnName = "REMARK2")] public string? Remark2 { get; set; } /// /// 自定义字段3 /// [SugarColumn(ColumnName = "REMARK3")] public string? Remark3 { get; set; } /// /// 自定义字段4 /// [SugarColumn(ColumnName = "REMARK4")] public string? Remark4 { get; set; } /// /// 自定义字段5 /// [SugarColumn(ColumnName = "REMARK5")] public string? Remark5 { get; set; } [SugarColumn(IsIgnore = true)] public string? Type { get; set; } }