ptBaseEquipment.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace wms.sqlsugar.model.pt
  6. {
  7. [Tenant("pt")]
  8. [SugarTable("base_equipment", "设备档案")]
  9. public class ptBaseEquipment : BaseModel
  10. {
  11. [SugarColumn(ColumnName = "code", Length = 30)]
  12. public string Code { get; set; }
  13. [SugarColumn(ColumnName = "name", Length = 30, ColumnDataType = "nvarchar")]
  14. public string Name { get; set; }
  15. [SugarColumn(ColumnName = "ip", Length = 30, IsNullable = true)]
  16. public string Ip { get; set; }
  17. [SugarColumn(ColumnName = "equip_state", Length = 50)]
  18. public string EquipState { get; set; }
  19. [SugarColumn(ColumnName = "equip_type", Length = 50)]
  20. public string EquipType { get; set; }
  21. [SugarColumn(ColumnName = "alarm_info", Length = 500, IsNullable = true)]
  22. public string AlarmInfo { get; set; }
  23. [SugarColumn(ColumnName = "tunnel", Length = 10, IsNullable = true)]
  24. public string Tunnel { get; set; }
  25. [SugarColumn(ColumnName = "warehouse_id", IsNullable = true)]
  26. public long WarehouseId { get; set; }
  27. [SugarColumn(ColumnName = "def_zone", Length = 30, IsNullable = true)]
  28. public string DefZone { get; set; }
  29. [SugarColumn(ColumnName = "alarm_time")]
  30. public DateTime AlarmTime { get; set; }
  31. [SugarColumn(ColumnName = "last_time")]
  32. public DateTime LastTime { get; set; }
  33. }
  34. }