|
@@ -1,6 +1,6 @@
|
|
|
namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
|
|
namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_person_skill_assignment", "S0 人员技能分配")]
|
|
|
|
|
|
|
+[SugarTable("PersonSkillAssignment", "S0 人员技能分配")]
|
|
|
public class AdoS0MfgPersonSkillAssignment
|
|
public class AdoS0MfgPersonSkillAssignment
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -40,8 +40,8 @@ public class AdoS0MfgPersonSkillAssignment
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_work_order_control", "S0 工单控制参数")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_woc_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
|
|
+[SugarTable("WorkOrderControl", "S0 工单控制参数")]
|
|
|
|
|
+[SugarIndex("uk_WorkOrderControl_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgWorkOrderControl
|
|
public class AdoS0MfgWorkOrderControl
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -78,8 +78,8 @@ public class AdoS0MfgWorkOrderControl
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_person_skill", "S0 人员技能主数据")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_ps_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
|
|
+[SugarTable("PersonSkill", "S0 人员技能主数据")]
|
|
|
|
|
+[SugarIndex("uk_PersonSkill_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgPersonSkill
|
|
public class AdoS0MfgPersonSkill
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -113,8 +113,8 @@ public class AdoS0MfgPersonSkill
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_line_post", "S0 线体岗位")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_lp_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
|
|
+[SugarTable("LinePost", "S0 线体岗位")]
|
|
|
|
|
+[SugarIndex("uk_LinePost_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgLinePost
|
|
public class AdoS0MfgLinePost
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -148,7 +148,7 @@ public class AdoS0MfgLinePost
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_line_post_skill", "S0 线体岗位技能")]
|
|
|
|
|
|
|
+[SugarTable("LinePostSkill", "S0 线体岗位技能")]
|
|
|
public class AdoS0MfgLinePostSkill
|
|
public class AdoS0MfgLinePostSkill
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -185,8 +185,8 @@ public class AdoS0MfgLinePostSkill
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_work_center", "S0 工作中心")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_wc_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
|
|
+[SugarTable("WorkCenter", "S0 工作中心")]
|
|
|
|
|
+[SugarIndex("uk_WorkCenter_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgWorkCenter
|
|
public class AdoS0MfgWorkCenter
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -226,7 +226,7 @@ public class AdoS0MfgWorkCenter
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_line_material", "S0 线边物料")]
|
|
|
|
|
|
|
+[SugarTable("LineMaterial", "S0 线边物料")]
|
|
|
public class AdoS0MfgLineMaterial
|
|
public class AdoS0MfgLineMaterial
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -284,8 +284,8 @@ public class AdoS0MfgLineMaterial
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_element_param", "S0 生产要素参数")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_ep_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(ElementCategory), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
|
|
+[SugarTable("ElementParam", "S0 生产要素参数")]
|
|
|
|
|
+[SugarIndex("uk_ElementParam_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(ElementCategory), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
public class AdoS0MfgElementParam
|
|
public class AdoS0MfgElementParam
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -343,7 +343,7 @@ public class AdoS0MfgElementParam
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-[SugarTable("ado_s0_mfg_material_process_element", "S0 物料工艺要素")]
|
|
|
|
|
|
|
+[SugarTable("MaterialProcessElement", "S0 物料工艺要素")]
|
|
|
public class AdoS0MfgMaterialProcessElement
|
|
public class AdoS0MfgMaterialProcessElement
|
|
|
{
|
|
{
|
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
[SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
|
|
@@ -394,81 +394,3 @@ public class AdoS0MfgMaterialProcessElement
|
|
|
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
|
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
|
|
public DateTime? UpdatedAt { get; set; }
|
|
public DateTime? UpdatedAt { get; set; }
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-[SugarTable("ado_s0_mfg_preprocess_element", "S0 前处理要素头")]
|
|
|
|
|
-[SugarIndex("uk_ado_s0_mfg_ppe_code", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Code), OrderByType.Asc, IsUnique = true)]
|
|
|
|
|
-public class AdoS0MfgPreprocessElement
|
|
|
|
|
-{
|
|
|
|
|
- [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 = "编码", Length = 100)]
|
|
|
|
|
- public string Code { get; set; } = string.Empty;
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "名称", Length = 200)]
|
|
|
|
|
- public string Name { get; set; } = string.Empty;
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "物料", ColumnDataType = "bigint", IsNullable = true)]
|
|
|
|
|
- public long? MaterialId { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "工序", ColumnDataType = "bigint", IsNullable = true)]
|
|
|
|
|
- public long? OperationId { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "关键要素", ColumnDataType = "boolean")]
|
|
|
|
|
- public bool IsKeyElement { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
|
|
|
|
|
- public string? Remark { 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("ado_s0_mfg_preprocess_element_param", "S0 前处理要素参数行")]
|
|
|
|
|
-public class AdoS0MfgPreprocessElementParam
|
|
|
|
|
-{
|
|
|
|
|
- [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 PreprocessElementId { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "要素参数", ColumnDataType = "bigint")]
|
|
|
|
|
- public long ElementParamId { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "参数值", Length = 500, IsNullable = true)]
|
|
|
|
|
- public string? ParamValue { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "排序")]
|
|
|
|
|
- public int SortNo { get; set; }
|
|
|
|
|
-
|
|
|
|
|
- [SugarColumn(ColumnDescription = "备注", Length = 500, IsNullable = true)]
|
|
|
|
|
- public string? Remark { 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; }
|
|
|
|
|
-}
|
|
|