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