AdoS0ItemOpCondition.cs 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 物料工序生产要素(源平台 ItemOpCondition)。
  4. /// </summary>
  5. [SugarTable("ItemOpCondition", "物料工序生产要素表")]
  6. public class AdoS0ItemOpCondition
  7. {
  8. [SugarColumn(ColumnName = "id", ColumnDescription = "物料工序生产要素主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "item_num", ColumnDescription = "物料编码", Length = 100)]
  11. public string ItemNum { get; set; } = string.Empty;
  12. [SugarColumn(ColumnName = "op", ColumnDescription = "工序编码", Length = 100, IsNullable = true)]
  13. public string? Op { get; set; }
  14. [SugarColumn(ColumnName = "line", ColumnDescription = "生产线编码", Length = 100, IsNullable = true)]
  15. public string? Line { get; set; }
  16. [SugarColumn(ColumnName = "typed", ColumnDescription = "类型编码", Length = 100, IsNullable = true)]
  17. public string? Typed { get; set; }
  18. [SugarColumn(ColumnName = "item_code", ColumnDescription = "要素编码", Length = 100, IsNullable = true)]
  19. public string? ItemCode { get; set; }
  20. [SugarColumn(ColumnName = "descr", ColumnDescription = "描述", Length = 255, IsNullable = true)]
  21. public string? Descr { get; set; }
  22. [SugarColumn(ColumnName = "is_main", ColumnDescription = "是否关键", ColumnDataType = "boolean")]
  23. public bool IsMain { get; set; }
  24. [SugarColumn(ColumnName = "code_type", ColumnDescription = "参数分组类型", Length = 50)]
  25. public string CodeType { get; set; } = "Prod";
  26. [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)]
  27. public string Domain { get; set; } = string.Empty;
  28. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  29. public string? CreateUser { get; set; }
  30. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  31. public DateTime? CreateTime { get; set; }
  32. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  33. public string? UpdateUser { get; set; }
  34. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  35. public DateTime? UpdateTime { get; set; }
  36. }