using GeneralData;
using SqlSugar;

namespace Device;

public class DeviceInfo
{
    [SugarColumn(IsPrimaryKey = true)]
    public Guid? Guid { get; set; }
    public DeviceModel DeviceModel { get; set; }
    public string? DeviceSubModel { get; set; }
    public string? DeviceName { get; set; }
    public string? Position { get; set; }
    public string? SoftwareVersion { get; set; }
    public string IP { get; set; } = string.Empty;
    public int Port { get; set; }
    public string? DBConnectionString { get; set; }
    public DateTime UpdateTime { get; set; }
    [SugarColumn(IsIgnore = true)]
    public bool IsConnected { get; set; }
}