Files
Web_Faces_Prod/Face.Domain/Application/FaceAll/DeviceManage.cs
2025-11-25 17:41:57 +08:00

86 lines
2.4 KiB
C#

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