Grp_RestaurantInfo.cs 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.Groups
  7. {
  8. /// <summary>
  9. /// 餐厅信息
  10. /// </summary>
  11. [SugarTable("Grp_RestaurantInfo", "餐厅信息")]
  12. public class Grp_RestaurantInfo : EntityBase
  13. {
  14. /// <summary>
  15. /// 团组Id
  16. /// </summary>
  17. [SugarColumn(ColumnDescription = "团组Id", IsNullable = true, ColumnDataType = "int")]
  18. public int GroupId { get; set; }
  19. /// <summary>
  20. /// 用餐日期(2024-12-31)
  21. /// </summary>
  22. [SugarColumn(ColumnDescription = "用餐日期(2024-12-31)", IsNullable = true, ColumnDataType = "varchar(30)")]
  23. public string Date { get; set; }
  24. /// <summary>
  25. /// 用餐开始时间(08:00)
  26. /// </summary>
  27. [SugarColumn(ColumnDescription = " 用餐开始时间(08:00)", IsNullable = true, ColumnDataType = "varchar(30)")]
  28. public string StartTime { get; set; }
  29. /// <summary>
  30. /// 用餐结束时间(10:00)
  31. /// </summary>
  32. [SugarColumn(ColumnDescription = " 用餐结束时间(10:00)", IsNullable = true, ColumnDataType = "varchar(30)")]
  33. public string EndTime { get; set; }
  34. /// <summary>
  35. /// 用餐类型(1:早餐; 2:午餐; 3:晚餐;)
  36. /// </summary>
  37. [SugarColumn(ColumnDescription = "用餐类型(1:早餐; 2:午餐; 3:晚餐;)", IsNullable = true, ColumnDataType = "int")]
  38. public int Type { get; set; }
  39. /// <summary>
  40. /// 餐厅名称
  41. /// </summary>
  42. [SugarColumn(ColumnDescription = "餐厅名称", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  43. public string Name { get; set; }
  44. /// <summary>
  45. /// 餐厅电话
  46. /// </summary>
  47. [SugarColumn(ColumnDescription = "餐厅电话", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  48. public string Tel { get; set; }
  49. /// <summary>
  50. /// 餐厅地址
  51. /// </summary>
  52. [SugarColumn(ColumnDescription = "餐厅地址", IsNullable = true, ColumnDataType = "nvarchar(300)")]
  53. public string Address { get; set; }
  54. }
  55. }