| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Entities.Groups
- {
- /// <summary>
- /// 餐厅信息
- /// </summary>
- [SugarTable("Grp_RestaurantInfo", "餐厅信息")]
- public class Grp_RestaurantInfo : EntityBase
- {
- /// <summary>
- /// 团组Id
- /// </summary>
- [SugarColumn(ColumnDescription = "团组Id", IsNullable = true, ColumnDataType = "int")]
- public int GroupId { get; set; }
- /// <summary>
- /// 用餐日期(2024-12-31)
- /// </summary>
- [SugarColumn(ColumnDescription = "用餐日期(2024-12-31)", IsNullable = true, ColumnDataType = "varchar(30)")]
- public string Date { get; set; }
- /// <summary>
- /// 用餐开始时间(08:00)
- /// </summary>
- [SugarColumn(ColumnDescription = " 用餐开始时间(08:00)", IsNullable = true, ColumnDataType = "varchar(30)")]
- public string StartTime { get; set; }
- /// <summary>
- /// 用餐结束时间(10:00)
- /// </summary>
- [SugarColumn(ColumnDescription = " 用餐结束时间(10:00)", IsNullable = true, ColumnDataType = "varchar(30)")]
- public string EndTime { get; set; }
- /// <summary>
- /// 用餐类型(1:早餐; 2:午餐; 3:晚餐;)
- /// </summary>
- [SugarColumn(ColumnDescription = "用餐类型(1:早餐; 2:午餐; 3:晚餐;)", IsNullable = true, ColumnDataType = "int")]
- public int Type { get; set; }
- /// <summary>
- /// 餐厅名称
- /// </summary>
- [SugarColumn(ColumnDescription = "餐厅名称", IsNullable = true, ColumnDataType = "nvarchar(200)")]
- public string Name { get; set; }
- /// <summary>
- /// 餐厅电话
- /// </summary>
- [SugarColumn(ColumnDescription = "餐厅电话", IsNullable = true, ColumnDataType = "nvarchar(100)")]
- public string Tel { get; set; }
- /// <summary>
- /// 餐厅地址
- /// </summary>
- [SugarColumn(ColumnDescription = "餐厅地址", IsNullable = true, ColumnDataType = "nvarchar(300)")]
- public string Address { get; set; }
- }
- }
|