79 lines
2.3 KiB
C#
79 lines
2.3 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 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; }
|
|
}
|
|
}
|