44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using Kurisu.Core.DataAccess.Entity;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Device.Entities;
|
|
|
|
/// <summary>
|
|
/// 设备注册表
|
|
/// </summary>
|
|
[SugarTable(TableName = "DeviceRegistry", TableDescription = "设备注册表")]
|
|
public class DeviceRegistryEntity : SugarBaseEntity, ITenantId
|
|
{
|
|
/// <summary>
|
|
/// 设备唯一号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "设备唯一号")]
|
|
public string DeviceUniqueNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 注册时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "注册时间")]
|
|
public DateTime RegisterTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 最后一次心跳时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "最后一次心跳时间")]
|
|
public DateTime LastHeartbeatTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 营业点code(可为空)
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "营业点code")]
|
|
public Guid? BusinessPlaceCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 营业点手工号(可为空)
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true, ColumnDescription = "营业点手工号")]
|
|
public string BusinessPlaceCustomCode { get; set; }
|
|
|
|
public string TenantId { get; set; }
|
|
}
|