|
|
@@ -148,43 +148,6 @@ public class AdoS0MfgLinePost
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
|
|
|
|
-[SugarTable("LinePostSkill", "S0 线体岗位技能")]
|
|
|
-public class AdoS0MfgLinePostSkill
|
|
|
-{
|
|
|
- [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
|
- public long Id { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "公司", ColumnDataType = "bigint")]
|
|
|
- public long CompanyRefId { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "工厂", ColumnDataType = "bigint")]
|
|
|
- public long FactoryRefId { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "岗位", ColumnDataType = "bigint")]
|
|
|
- public long LinePostId { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "人员技能", ColumnDataType = "bigint")]
|
|
|
- public long PersonSkillId { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "要求等级", Length = 50, IsNullable = true)]
|
|
|
- public string? RequiredLevel { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
|
|
|
- public string? Remark { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "生效日期", IsNullable = true)]
|
|
|
- public DateTime? EffectiveDate { get; set; }
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "启用", ColumnDataType = "boolean")]
|
|
|
- public bool IsEnabled { get; set; } = true;
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "创建时间")]
|
|
|
- public DateTime CreatedAt { get; set; } = DateTime.Now;
|
|
|
-
|
|
|
- [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
|
|
- public DateTime? UpdatedAt { get; set; }
|
|
|
-}
|
|
|
-
|
|
|
[SugarTable("WorkCenter", "S0 工作中心")]
|
|
|
[SugarIndex("uk_WorkCenter_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgWorkCenter
|