RestaurantView.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.ViewModels.Groups
  7. {
  8. public class RestaurantView
  9. {
  10. }
  11. public class RestaurantInfoView
  12. {
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 团组Id
  16. /// </summary>
  17. public int GroupId { get; set; }
  18. /// <summary>
  19. /// 用餐日期(2024-12-31)
  20. /// </summary>
  21. public string Date { get; set; }
  22. /// <summary>
  23. /// 用餐开始时间(08:00)
  24. /// </summary>
  25. public string StartTime { get; set; }
  26. /// <summary>
  27. /// 用餐结束时间(10:00)
  28. /// </summary>
  29. public string EndTime { get; set; }
  30. /// <summary>
  31. /// 用餐类型(1:早餐; 2:午餐; 3:晚餐;)
  32. /// </summary>
  33. public int Type { get; set; }
  34. /// <summary>
  35. /// 餐厅名称
  36. /// </summary>
  37. public string Name { get; set; }
  38. /// <summary>
  39. /// 餐厅电话
  40. /// </summary>
  41. public string Tel { get; set; }
  42. /// <summary>
  43. /// 餐厅地址
  44. /// </summary>
  45. public string Address { get; set; }
  46. /// <summary>
  47. /// 其他信息
  48. /// </summary>
  49. public string Remark { get; set; }
  50. }
  51. public class RestaurantItemView
  52. {
  53. public int Id { get; set; }
  54. /// <summary>
  55. /// 团组Id
  56. /// </summary>
  57. public int GroupId { get; set; }
  58. /// <summary>
  59. /// 用餐日期(2024-12-31)
  60. /// </summary>
  61. public string Date { get; set; }
  62. /// <summary>
  63. /// 用餐开始时间(08:00)
  64. /// </summary>
  65. public string StartTime { get; set; }
  66. /// <summary>
  67. /// 用餐结束时间(10:00)
  68. /// </summary>
  69. public string EndTime { get; set; }
  70. /// <summary>
  71. /// 用餐类型(1:早餐; 2:午餐; 3:晚餐;)
  72. /// </summary>
  73. public string Type { get; set; }
  74. /// <summary>
  75. /// 餐厅名称
  76. /// </summary>
  77. public string Name { get; set; }
  78. /// <summary>
  79. /// 餐厅电话
  80. /// </summary>
  81. public string Tel { get; set; }
  82. /// <summary>
  83. /// 餐厅地址
  84. /// </summary>
  85. public string Address { get; set; }
  86. /// <summary>
  87. /// 其他信息
  88. /// </summary>
  89. public string Remark { get; set; }
  90. public DateTime CreateTime { get; set; }
  91. public string CreateUserName { get; set; }
  92. }
  93. }