DeviceInfo.cs 651 B

123456789101112131415161718192021
  1. using GeneralData;
  2. using SqlSugar;
  3. namespace Device;
  4. public class DeviceInfo
  5. {
  6. [SugarColumn(IsPrimaryKey = true)]
  7. public Guid? Guid { get; set; }
  8. public DeviceModel DeviceModel { get; set; }
  9. public string? DeviceSubModel { get; set; }
  10. public string? DeviceName { get; set; }
  11. public string? Position { get; set; }
  12. public string? SoftwareVersion { get; set; }
  13. public string IP { get; set; } = string.Empty;
  14. public int Port { get; set; }
  15. public string? DBConnectionString { get; set; }
  16. public DateTime UpdateTime { get; set; }
  17. [SugarColumn(IsIgnore = true)]
  18. public bool IsConnected { get; set; }
  19. }