37 lines
1.5 KiB
C#
37 lines
1.5 KiB
C#
using SqlSugar;
|
|
using VolPro.Entity.SystemModels;
|
|
|
|
namespace VolPro.Entity.DomainModels
|
|
{
|
|
[Entity(TableCnName="设备管理",TableName="base_device",DBServer="ServiceDbContext")]
|
|
public partial class base_device : ServiceEntity
|
|
{
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)] public int DeviceId { get; set; }
|
|
public string DeviceName { get; set; } = "";
|
|
[SugarColumn(IsPrimaryKey=true)] public string AdapterCode { get; set; } = "";
|
|
public string SourceId { get; set; } = "";
|
|
public string? DeviceCategory { get; set; }
|
|
public string? DeviceGroup { get; set; }
|
|
public int? PointId { get; set; }
|
|
public int? GatewayNodeId { get; set; }
|
|
public string? IsParent { get; set; }
|
|
public int? ParentDeviceId { get; set; }
|
|
public string? IsOnline { get; set; }
|
|
public string? Enable { get; set; }
|
|
public string? Protocol { get; set; }
|
|
public string? IpAddress { get; set; }
|
|
public int? Port { get; set; }
|
|
public DateTime? LastSyncTime { get; set; }
|
|
public string? MapModelId { get; set; }
|
|
public string? MapModelScale { get; set; }
|
|
public string? MapModelRotation { get; set; }
|
|
public string? ExtraData { get; set; }
|
|
public int? CreateID { get; set; }
|
|
public string? Creator { get; set; }
|
|
public DateTime? CreateDate { get; set; }
|
|
public int? ModifyID { get; set; }
|
|
public string? Modifier { get; set; }
|
|
public DateTime? ModifyDate { get; set; }
|
|
}
|
|
}
|