AdoS0DevMonitor.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 生产要素参数(源平台 DevMonitor)。
  4. /// </summary>
  5. [SugarTable("DevMonitor", "生产要素参数表")]
  6. public class AdoS0DevMonitor
  7. {
  8. [SugarColumn(ColumnName = "id", ColumnDescription = "生产要素参数主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "device_number", ColumnDescription = "要素编码", Length = 100)]
  11. public string DeviceNumber { get; set; } = string.Empty;
  12. [SugarColumn(ColumnName = "device_descr", ColumnDescription = "要素描述", Length = 255, IsNullable = true)]
  13. public string? DeviceDescr { get; set; }
  14. [SugarColumn(ColumnName = "message_code", ColumnDescription = "参数编码", Length = 100)]
  15. public string MessageCode { get; set; } = string.Empty;
  16. [SugarColumn(ColumnName = "code_descr", ColumnDescription = "参数描述", Length = 255, IsNullable = true)]
  17. public string? CodeDescr { get; set; }
  18. [SugarColumn(ColumnName = "value_type", ColumnDescription = "值类型", Length = 50, IsNullable = true)]
  19. public string? ValueType { get; set; }
  20. [SugarColumn(ColumnName = "std_value", ColumnDescription = "标准值", Length = 255, IsNullable = true)]
  21. public string? StdValue { get; set; }
  22. [SugarColumn(ColumnName = "top_limit", ColumnDescription = "上限值", DecimalDigits = 6, Length = 18, IsNullable = true)]
  23. public decimal? TopLimit { get; set; }
  24. [SugarColumn(ColumnName = "low_limit", ColumnDescription = "下限值", DecimalDigits = 6, Length = 18, IsNullable = true)]
  25. public decimal? LowLimit { get; set; }
  26. [SugarColumn(ColumnName = "ufld1", ColumnDescription = "值选择数据", Length = 1000, IsNullable = true)]
  27. public string? Ufld1 { get; set; }
  28. [SugarColumn(ColumnName = "um", ColumnDescription = "单位", Length = 50, IsNullable = true)]
  29. public string? UM { get; set; }
  30. [SugarColumn(ColumnName = "code_type", ColumnDescription = "参数分组类型", Length = 50)]
  31. public string CodeType { get; set; } = "Prod";
  32. [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)]
  33. public string Domain { get; set; } = string.Empty;
  34. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  35. public string? CreateUser { get; set; }
  36. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  37. public DateTime? CreateTime { get; set; }
  38. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  39. public string? UpdateUser { get; set; }
  40. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  41. public DateTime? UpdateTime { get; set; }
  42. }