初始化
This commit is contained in:
78
Face.Domain/Application/FaceAll/CheckInInfo.cs
Normal file
78
Face.Domain/Application/FaceAll/CheckInInfo.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
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 CheckInInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 客户名字
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)")]
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 身份证
|
||||
/// </summary>
|
||||
|
||||
[SugarColumn(ColumnDataType = "varchar(100)",IsNullable =true)]
|
||||
public string IdNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
public Nullable<System.DateTime> CreationTime { get; set; }
|
||||
/// <summary>
|
||||
/// 信息来源
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
public int InfoSource { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店code
|
||||
/// </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 = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> CheckTime { get; set; }
|
||||
/// <summary>
|
||||
/// 退房时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> checkOutTime { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)")]
|
||||
|
||||
public string picture { get; set; }
|
||||
/// <summary>
|
||||
/// 身份
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)", IsNullable = true)]
|
||||
|
||||
public string identitys { get; set; }
|
||||
}
|
||||
}
|
||||
65
Face.Domain/Application/FaceAll/CheckinTest.cs
Normal file
65
Face.Domain/Application/FaceAll/CheckinTest.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
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 CheckinTest
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 测试状态 0是预开 1是已开 2.已退 3.退房失败 4.开房失败
|
||||
/// </summary>
|
||||
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
public Nullable<int> testState { get; set; }
|
||||
/// <summary>
|
||||
/// 预计开房时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
|
||||
public Nullable<System.DateTime> predictCheckIn { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> creationTime { get; set; }
|
||||
/// <summary>
|
||||
/// 开房时长
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> checkInduration { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> hotelid { get; set; }
|
||||
/// <summary>
|
||||
/// 房间id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> Roomid { get; set; }
|
||||
/// <summary>
|
||||
/// 退房时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> CheckoutTime { get; set; }
|
||||
}
|
||||
}
|
||||
50
Face.Domain/Application/FaceAll/Dailyoperation.cs
Normal file
50
Face.Domain/Application/FaceAll/Dailyoperation.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
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 Dailyoperation
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)")]
|
||||
|
||||
public string Uname { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)")]
|
||||
public System.DateTime Creationtime { get; set; }
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)",IsNullable =true)]
|
||||
public string operatetype { get; set; }
|
||||
/// <summary>
|
||||
/// 操作数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true)]
|
||||
|
||||
public string operatedata { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
|
||||
public int hotelCode { get; set; }
|
||||
}
|
||||
}
|
||||
85
Face.Domain/Application/FaceAll/DeviceManage.cs
Normal file
85
Face.Domain/Application/FaceAll/DeviceManage.cs
Normal file
@@ -0,0 +1,85 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
55
Face.Domain/Application/FaceAll/FaceBinding.cs
Normal file
55
Face.Domain/Application/FaceAll/FaceBinding.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
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 FaceBinding
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int ID { get; set; }
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
public string SerialNo { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)", IsNullable = true)]
|
||||
public string Operator { get; set; }
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit", IsNullable = true)]
|
||||
|
||||
public Nullable<bool> OperatorType { 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; }
|
||||
}
|
||||
}
|
||||
60
Face.Domain/Application/FaceAll/FaceInfo.cs
Normal file
60
Face.Domain/Application/FaceAll/FaceInfo.cs
Normal file
@@ -0,0 +1,60 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
58
Face.Domain/Application/FaceAll/FaceIssue.cs
Normal file
58
Face.Domain/Application/FaceAll/FaceIssue.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
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 FaceIssue
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)")]
|
||||
|
||||
public string faceSn { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)")]
|
||||
|
||||
public System.DateTime creationtime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// pmsid
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(200)",IsNullable =true)]
|
||||
public string pmsid { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
|
||||
|
||||
public string picture { get; set; }
|
||||
/// <summary>
|
||||
/// 下发状态 0是成功 1是失败
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
|
||||
public int issuestate { get; set; }
|
||||
/// <summary>
|
||||
/// 信息id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)")]
|
||||
|
||||
public string messageid { get; set; }
|
||||
}
|
||||
}
|
||||
47
Face.Domain/Application/FaceAll/Hotel.cs
Normal file
47
Face.Domain/Application/FaceAll/Hotel.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
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 Hotel
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 酒店code
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)")]
|
||||
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)")]
|
||||
|
||||
public string Remark { get; set; }
|
||||
/// <summary>
|
||||
/// 是否使用微信
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "bit")]
|
||||
|
||||
public bool UserWX { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店ID,跟云端对应
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
|
||||
public int HotelID { get; set; }
|
||||
}
|
||||
}
|
||||
61
Face.Domain/Application/FaceAll/Lodger.cs
Normal file
61
Face.Domain/Application/FaceAll/Lodger.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
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 Lodger
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int LodgerId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户名字
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)")]
|
||||
|
||||
public string LodgerNmae { get; set; }
|
||||
/// <summary>
|
||||
/// 客户身份证
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)")]
|
||||
|
||||
public string IDNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 性别 0女 1男
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int",IsNullable =true)]
|
||||
public Nullable<int> Sex { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
public Nullable<System.DateTime> CheckInDate { get; set; }
|
||||
/// <summary>
|
||||
/// 信息来源 0是人工 1是pms接口
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
|
||||
public int Sourcedian { get; set; }
|
||||
/// <summary>
|
||||
/// 电话号码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
|
||||
public string phonenumber { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string remark { get; set; }
|
||||
}
|
||||
}
|
||||
61
Face.Domain/Application/FaceAll/TestUser.cs
Normal file
61
Face.Domain/Application/FaceAll/TestUser.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
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 TestUser
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 测试名字
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string name { get; set; }
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
public Nullable<int> sex { get; set; }
|
||||
/// <summary>
|
||||
/// 电话
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string phone { get; set; }
|
||||
/// <summary>
|
||||
/// 身份证
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
public string idNumber { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true)]
|
||||
public string picture { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime", IsNullable = true)]
|
||||
public Nullable<System.DateTime> creationTime { get; set; }
|
||||
/// <summary>
|
||||
/// 状态 0是冻结 1是正常
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
public Nullable<int> state { get; set; }
|
||||
/// <summary>
|
||||
/// 创建人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string establish { get; set; }
|
||||
}
|
||||
}
|
||||
55
Face.Domain/Application/FaceAll/ULog.cs
Normal file
55
Face.Domain/Application/FaceAll/ULog.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
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 ULog
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 操作人
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)")]
|
||||
public string Uname { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)")]
|
||||
|
||||
public System.DateTime Creationtime { get; set; }
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(20)")]
|
||||
|
||||
public string operatetype { get; set; }
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)",IsNullable =true)]
|
||||
|
||||
public string faceSN { 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; }
|
||||
}
|
||||
}
|
||||
45
Face.Domain/Application/FaceAll/devicestatushistory.cs
Normal file
45
Face.Domain/Application/FaceAll/devicestatushistory.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Security.Principal;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
public class devicestatushistory
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸机串号
|
||||
/// </summary>
|
||||
public string SN { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人脸机生产厂家
|
||||
/// </summary>
|
||||
public string Factory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新状态
|
||||
/// </summary>
|
||||
public int Status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 原因描述
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
}
|
||||
}
|
||||
82
Face.Domain/Application/FaceAll/facedevicerxtxinfo.cs
Normal file
82
Face.Domain/Application/FaceAll/facedevicerxtxinfo.cs
Normal file
@@ -0,0 +1,82 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Security.Principal;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
public class facedevicerxtxinfo
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> pmsid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(256)", IsNullable = true)]
|
||||
public string sn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(256)", IsNullable = true)]
|
||||
public string msgid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string cmd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(10)", IsNullable = true)]
|
||||
public string direction { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> trresult { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(700)", IsNullable = true)]
|
||||
public string data { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> datatime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
public string ipaddr { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(256)", IsNullable = true)]
|
||||
public string iplocation { get; set; }
|
||||
}
|
||||
}
|
||||
35
Face.Domain/Application/FaceAll/fileawholelog.cs
Normal file
35
Face.Domain/Application/FaceAll/fileawholelog.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
public class fileawholelog
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string filename { get; set; }
|
||||
|
||||
public string md5 { get; set; }
|
||||
|
||||
|
||||
|
||||
public DateTime creationtime { get; set; }
|
||||
|
||||
|
||||
|
||||
public int filetype { get; set; }
|
||||
|
||||
public int hotelid { get; set; }
|
||||
|
||||
public int roomid { get; set; }
|
||||
|
||||
|
||||
public int type { get; set; }
|
||||
|
||||
public string remark { get; set; }
|
||||
public double firmwaresize { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
51
Face.Domain/Application/FaceAll/pmsInfo.cs
Normal file
51
Face.Domain/Application/FaceAll/pmsInfo.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
/// <summary>
|
||||
/// pms信息
|
||||
/// </summary>
|
||||
public class pmsInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
|
||||
|
||||
public int pmsid { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable =true)]
|
||||
|
||||
public Nullable<System.DateTime> Creationtime { get; set; }
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(300)")]
|
||||
public string data { get; set; }
|
||||
/// <summary>
|
||||
/// 信息类型 0是退房 1是开房
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> infotype { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> hotelid { get; set; }
|
||||
/// <summary>
|
||||
/// 房间id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
public Nullable<int> room { get; set; }
|
||||
}
|
||||
}
|
||||
67
Face.Domain/Application/FaceAll/pmsInterface.cs
Normal file
67
Face.Domain/Application/FaceAll/pmsInterface.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
/// <summary>
|
||||
/// pms传输人脸机表
|
||||
/// </summary>
|
||||
public class pmsInterface
|
||||
{
|
||||
/// <summary>
|
||||
/// pmsid
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int pmsId { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)")]
|
||||
|
||||
public System.DateTime DateTime { get; set; }
|
||||
/// <summary>
|
||||
/// pms 传输内容
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(300)")]
|
||||
public string pmsContent { get; set; }
|
||||
/// <summary>
|
||||
/// 酒店id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int",IsNullable =true)]
|
||||
|
||||
public Nullable<int> hotelid { get; set; }
|
||||
/// <summary>
|
||||
/// 房间id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> room { get; set; }
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
|
||||
public string faceSN { get; set; }
|
||||
/// <summary>
|
||||
/// 1是成功 2是失败 3是人脸机不在线 下发结果
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> issueresult { get; set; }
|
||||
/// <summary>
|
||||
/// 1是开房 0是退房
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> pmstype { get; set; }
|
||||
/// <summary>
|
||||
/// 信息id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
public string messageid { get; set; }
|
||||
}
|
||||
}
|
||||
57
Face.Domain/Application/FaceAll/pmsLog.cs
Normal file
57
Face.Domain/Application/FaceAll/pmsLog.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Face.Domain.Application.FaceAll
|
||||
{
|
||||
/// <summary>
|
||||
/// pms日志表
|
||||
/// </summary>
|
||||
public class pmsLog
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// pmsid
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int")]
|
||||
|
||||
public int pmsid { get; set; }
|
||||
/// <summary>
|
||||
/// 步骤
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> step { get; set; }
|
||||
/// <summary>
|
||||
/// app 1是face 2是console
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> app { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> Creationtime { get; set; }
|
||||
/// <summary>
|
||||
/// 说明
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
||||
|
||||
public string message { get; set; }
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
|
||||
|
||||
public string Data { get; set; }
|
||||
}
|
||||
}
|
||||
33
Face.Domain/Application/FaceAll/subtabulation.cs
Normal file
33
Face.Domain/Application/FaceAll/subtabulation.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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 subtabulation
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// 信息id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> masterid { get; set; }
|
||||
/// <summary>
|
||||
/// 用户id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> Lodgerid { get; set; }
|
||||
}
|
||||
}
|
||||
44
Face.Domain/Application/FaceAll/transferFace.cs
Normal file
44
Face.Domain/Application/FaceAll/transferFace.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
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 transferFace
|
||||
{
|
||||
/// <summary>
|
||||
/// id
|
||||
/// </summary>
|
||||
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
||||
public int id { get; set; }
|
||||
/// <summary>
|
||||
/// SN号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
||||
public string faceSN { get; set; }
|
||||
/// <summary>
|
||||
/// 信息id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "varchar(150)", IsNullable = true)]
|
||||
|
||||
public string infoid { get; set; }
|
||||
/// <summary>
|
||||
/// 故障状态 0是收到 1是正处理 2是失败 3是已成功
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
||||
|
||||
public Nullable<int> faultState { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
|
||||
|
||||
public Nullable<System.DateTime> creationTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user