初始化
This commit is contained in:
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user