初始化

This commit is contained in:
2025-11-25 17:41:24 +08:00
commit 4cdf0f0f85
3383 changed files with 1050962 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain.Application
{
/// <summary>
/// 数据库连接串实体
/// </summary>
public class DBCofinStrModel
{
/// <summary>
/// iD
/// </summary>
public int ID { get; set; }
/// <summary>
/// 数据库连接串
/// </summary>
public string CofinStr { get; set; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
public class NurseScheduleStatisticsModel : DynamicObject
{
public string EmpName { get; set; }
public string TotalHour { get; set; }
public string TotalWork { get; set; }
Dictionary<string, object> Properties = new Dictionary<string, object>();
public override bool TrySetMember(SetMemberBinder binder, object value)
{
if (!Properties.Keys.Contains(binder.Name))
{
//在此可以做一些小动作
//if (binder.Name == "Col")
//  Properties.Add(binder.Name + (Properties.Count), value.ToString());
//else
//  Properties.Add(binder.Name, value.ToString());
Properties.Add(binder.Name, value.ToString());
}
return true;
}
public override bool TryGetMember(GetMemberBinder binder, out object result)
{
return Properties.TryGetValue(binder.Name, out result);
}
}
}

View File

@@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
/// <summary>
/// 产值查询实体
/// </summary>
public class OutputValueModel
{
public int ID { get; set; }
/// <summary>
/// 订单ID
/// </summary>
public int OrderID { get; set; }
/// <summary>
/// 产线ID
/// </summary>
public int ProductionLineID { get; set; }
/// <summary>
/// 产线名称
/// </summary>
public string ProductionLineName { get; set; }
/// <summary>
/// 生产时间
/// </summary>
public string ProductionTime { get; set; }
/// <summary>
/// 已完成产量
/// </summary>
public int ActualOutput { get; set; }
/// <summary>
/// 价格
/// </summary>
public float Price { get; set; }
/// <summary>
/// 价格
/// </summary>
public float OutputPrice { get; set; }
}
}

View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
public class Sys_Currency
{
/// <summary>
/// 币种
/// </summary>
public string Currency { get; set; }
/// <summary>
/// 币种名称
/// </summary>
public string CurrencyName { get; set; }
/// <summary>
/// 币种符号
/// </summary>
public string CurrencySymbol { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
public class TBL_Station
{
/// <summary>
/// 站ID
/// </summary>
public int StationID { get; set; }
/// <summary>
/// 站名
/// </summary>
public string StationName { get; set; }
/// <summary>
/// 操作站类型
/// </summary>
public string StationType { get; set; }
/// <summary>
/// 工艺排序
/// </summary>
public int ArtworkOrder { get; set; }
}
}

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
public class TBL_QA_TestLog
{
/// <summary>
/// 用户ID
/// </summary>
public int UserID { get; set; }
/// <summary>
/// 序号
/// </summary>
public string DUT_SN { get; set; }
/// <summary>
/// 时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
/// 测试结果
/// </summary>
public bool TestResult { get; set; }
/// <summary>
/// 检测过程
/// </summary>
public string QA_FlowLog { get; set; }
/// <summary>
/// 检测备注
/// </summary>
public string QA_CheckResult { get; set; }
}
}

View File

@@ -0,0 +1,91 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain.Application
{
/// <summary>
/// 房间 基本信息
/// </summary>
[Table("TBL_ROOM_BASIC_INFO")]
public class TBL_ROOM_BASIC_INFO
{
/// <summary>
/// 自增id
/// </summary>
[Key, Column(TypeName = "int"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ROOM_ID { get; set; }
/// <summary>
/// 酒店编号
/// </summary>
[Required, Column(TypeName = "int"), ]
public int HOTEL_ID { get; set; }
/// <summary>
/// 房型id
/// </summary>
[Required, Column(TypeName = "int")]
public int ROOM_TYPE_ID { get; set; }
public int RoomStatusID { get; set; }
/// <summary>
/// 房间号
/// </summary>
[Required, Column(TypeName = "varchar(20)")]
public string ROOM_NUMBER { get; set; }
/// <summary>
/// 房间描述
/// </summary>
[Column(TypeName = "varchar(200)")]
public string DESCRPTION { get; set; }
/// <summary>
/// RCU_ID TBL_RCU_BASIC_INFO表MAC
/// </summary>
[Column(TypeName = "varchar(50)")]
public string MAC { get; set; }
/// <summary>
/// 记录更新时间
/// </summary>
[Required, Column(TypeName = "datetime")]
public DateTime UPDATE_TIMEMARK { get; set; }
/// <summary>
/// 备注
/// </summary>
[Column(TypeName = "varchar(200)")]
public string REMARK { get; set; }
/// <summary>
/// 房型id 巫工
/// </summary>
[Required, Column(TypeName = "int")]
public int ROOM_TYPE_OLD_ID { get; set; }
/// <summary>
/// 酒店编号 巫工
/// </summary>
[Required, Column(TypeName = "int")]
public int HOTEL_OLD_ID { get; set; }
/// <summary>
/// id 巫工
/// </summary>
[Column(TypeName = "int")]
public int ROOM_OLD_ID { get; set; }
}
}

View File

@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
/// <summary>
/// 测试记录实体
/// </summary>
public class TBL_TestLog
{
/// <summary>
/// ID
/// </summary>
public int ID { get; set; }
/// <summary>
/// sn号
/// </summary>
public string Tester_SN { get; set; }
/// <summary>
/// 测试结果
/// </summary>
public bool TestResult { get; set; }
/// <summary>
/// 订单ID
/// </summary>
public int OrderID { get; set; }
}
}

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain
{
public class ToDayCapacity
{
/// <summary>
/// DUT序号
/// </summary>
public string DUT_SN { get; set; }
/// <summary>
/// 检测时间
/// </summary>
public DateTime StartTime { get; set; }
/// <summary>
/// T5-2检测时间
/// </summary>
public string DateTime_2nd { get; set; }
/// <summary>
/// 检测结果
/// </summary>
public bool TestResult { get; set; }
}
}

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain.Application
{
public class UserAdmin
{
public int Id { get; set; }
public string Uid { get; set; }
public string Pwd { get; set; }
public string PwdSee { get; set; }
public string HeadImg { get; set; }
public int Sex { get; set; }
public int Age { get; set; }
public int IsValid { get; set; }
public string Desc { get; set; }
public string CreateTime { get; set; }
public string CreatedBy { get; set; }
public int HotelID { get; set; }
public int HotelGroupID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Face.Domain.Application
{
public class tb_HotelCode
{
public string Code { get; set; }
public string Remark { get; set; }
public bool UserWX { get; set; }
public int HotelID { get; set; }
}
}