using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models.ModelItems
{
[Table("Hotels")]
public class Hotels
{
//[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[SugarColumn(IsPrimaryKey = true)]
public int Id { get; set; }
[SugarColumn(ColumnDataType = "varchar(60)")]
public string Name { get; set; }
//public string TWName { get; set; }
//public string EName { get; set; }
//public string Contact { get; set; }
//public string Phone { get; set; }
//public string Address { get; set; }
[SugarColumn(ColumnDataType = "varchar(60)",IsNullable =true)]
public string Desc { get; set; }
//public string Remark { get; set; }
[SugarColumn(ColumnDataType = "int")]
public int GroupId { get; set; }
[SugarColumn(ColumnDataType = "varchar(60)", IsNullable = true)]
public string Code { get; set; }
//0正式运营,1批量安装,2样板间
[SugarColumn(ColumnDataType = "int")]
public int Status { get; set; }
[SugarColumn(ColumnDataType = "int")]
//0审批,1审批同过
public int IsApprove { get; set; }
[SugarColumn(ColumnDataType = "datetime(3)", IsNullable = true)]
public DateTime CreateTime { get; set; } = DateTime.Now;
//public DateTime CreatDate { get; set; } = DateTime.Now;
//public DateTime ValidateDate { get; set; } = DateTime.Now;
}
//public class HotelsAsync
//{
// ///
// ///
// ///
// public int ID { get; set; }
// ///
// ///
// ///
// public string Code { get; set; }
// ///
// /// 默认酒店
// ///
// public string Name { get; set; }
// ///
// ///
// ///
// public string EName { get; set; }
// ///
// /// 默認酒店
// ///
// public string TWName { get; set; }
// ///
// ///
// ///
// public string Contact { get; set; }
// ///
// ///
// ///
// public string Phone { get; set; }
// ///
// ///
// ///
// public string Address { get; set; }
// ///
// ///
// ///
// public string ValidateDate { get; set; }
// ///
// ///
// ///
// public DateTime CreatDate { get; set; }
// ///
// ///
// ///
// public string Remark { get; set; }
// ///
// ///
// ///
// public int Status { get; set; }
// ///
// ///
// ///
// public bool IsApprove { get; set; }
// ///
// ///
// ///
// public int SysHotelGroupID { get; set; }
// ///
// /// 宝来威
// ///
// public string SysHotelGroupName { get; set; }
//}
}