AdoS0StdOpMaster.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 标准工序主数据(复刻 StdOpMaster)。
  4. /// </summary>
  5. [SugarTable("StdOpMaster", "标准工序主数据表")]
  6. [SugarIndex("uk_StdOpMaster_scope_name", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(StdOp), OrderByType.Asc, IsUnique = true)]
  7. public class AdoS0StdOpMaster
  8. {
  9. [SugarColumn(ColumnName = "id", ColumnDescription = "标准工序主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")]
  12. public long CompanyRefId { get; set; }
  13. [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")]
  14. public long FactoryRefId { get; set; }
  15. [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)]
  16. public string Domain { get; set; } = string.Empty;
  17. [SugarColumn(ColumnName = "std_op", ColumnDescription = "标准工序名称", Length = 100)]
  18. public string StdOp { get; set; } = string.Empty;
  19. [SugarColumn(ColumnName = "milestone_op", ColumnDescription = "是否关键工序", Length = 20, IsNullable = true)]
  20. public string? MilestoneOp { get; set; }
  21. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  22. public string? CreateUser { get; set; }
  23. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  24. public DateTime? CreateTime { get; set; }
  25. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  26. public string? UpdateUser { get; set; }
  27. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  28. public DateTime? UpdateTime { get; set; }
  29. }