61 lines
1.7 KiB
C#
61 lines
1.7 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 FaceInfo
|
|
{
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
|
public int id { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "datetime(3)")]
|
|
|
|
public System.DateTime CreationDate { get; set; }
|
|
/// <summary>
|
|
/// SN号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)")]
|
|
public string SerialNo { get; set; }
|
|
/// <summary>
|
|
/// 绑定状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "bit")]
|
|
public bool BindingState { get; set; }
|
|
|
|
/// <summary>
|
|
/// 绑定时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable =true)]
|
|
public Nullable<System.DateTime> BindingDate { get; set; }
|
|
/// <summary>
|
|
/// 酒店id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
|
|
public Nullable<int> HotelCode { get; set; }
|
|
/// <summary>
|
|
/// 房间id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
|
|
public Nullable<int> Roomid { get; set; }
|
|
/// <summary>
|
|
/// 人脸机状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "bit")]
|
|
public bool FaceState { get; set; }
|
|
}
|
|
}
|