MeetingRoomResult.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. using System.Collections.Generic;
  2. using GxPress.Entity.WorkMeeting;
  3. namespace GxPress.Request.App.WorkMeeting
  4. {
  5. /// <summary>
  6. ///
  7. /// </summary>
  8. public class MeetingRoomResult
  9. {
  10. /// <summary>
  11. /// 会议室名称
  12. /// </summary>
  13. public string RoomName { get; set; }
  14. /// <summary>
  15. ///
  16. /// </summary>
  17. /// <value></value>
  18. public bool Disabled { get; set; }
  19. /// <summary>
  20. /// 所有预订
  21. /// </summary>
  22. public SortedDictionary<string, List<int>> Orders { get; set; }
  23. /// <summary>
  24. /// 用户预订
  25. /// </summary>
  26. public SortedDictionary<string, List<int>> UserOrders { get; set; }
  27. /// <summary>
  28. /// 新版所有预订
  29. /// </summary>
  30. /// <value></value>
  31. public List<TimeDictionary> OrderList { get; set; }
  32. }
  33. /// <summary>
  34. /// 新版所有预订
  35. /// </summary>
  36. public class TimeDictionary
  37. {
  38. /// <summary>
  39. /// 日期
  40. /// </summary>
  41. /// <value></value>
  42. public string TimeKey { get; set; }
  43. /// <summary>
  44. /// 时间
  45. /// </summary>
  46. /// <value></value>
  47. public List<int> TimeValues { get; set; }
  48. /// <summary>
  49. /// 时间
  50. /// </summary>
  51. /// <value></value>
  52. public List<TimeValue> NewTimeValues { get; set; }
  53. }
  54. public class TimeValue
  55. {
  56. /// <summary>
  57. /// 小时
  58. /// </summary>
  59. /// <value></value>
  60. public int Key { get; set; }
  61. /// <summary>
  62. /// 用户名称
  63. /// </summary>
  64. /// <value></value>
  65. public string Value { get; set; }
  66. }
  67. }