48 lines
1.1 KiB
C#
48 lines
1.1 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 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; }
|
||
}
|
||
}
|