using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Face.Domain.Application.FaceAll {/// /// 人脸机设备表 /// public class DeviceManage { /// /// id /// [SugarColumn(IsIdentity = true, IsPrimaryKey = true)] public int Facelid { get; set; } /// /// SN号 /// [SugarColumn(ColumnDataType = "varchar(20)")] public string SerialNo { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDataType = "datetime(3)", IsNullable =true)] public Nullable CreatedDate { get; set; } /// /// 酒店code /// [SugarColumn(ColumnDataType = "varchar(20)", IsNullable = true)] public string HotelCode { get; set; } /// /// 房间id /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public Nullable RoomId { get; set; } /// /// 厂家 /// [SugarColumn(ColumnDataType = "varchar(10)", IsNullable = true)] public string Factory { get; set; } /// /// 状态 /// [SugarColumn(ColumnDataType = "bit")] public bool Status { get; set; } /// /// 绑定时间 /// [SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)] public Nullable bindingDate { get; set; } /// /// 绑定状态 1是绑定 0是解绑 /// [SugarColumn(ColumnDataType = "bit")] public bool bindingStatus { get; set; } /// /// ip地址 /// [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)] public string faceIp { get; set; } /// /// 地理位置 /// [SugarColumn(ColumnDataType = "varchar(50)")] public string faceAddress { get; set; } /// /// 维修状态 0是正常 1是故障 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public Nullable maintainStatus { get; set; } } }