Meeting.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. using System;
  2. using System.Collections.Generic;
  3. using Datory.Annotations;
  4. using GxPress.Common.Tools;
  5. namespace GxPress.Entity.WorkMeeting
  6. {
  7. /// <summary>
  8. /// 会议
  9. /// </summary>
  10. [DataTable("tede_meeting")]
  11. public class Meeting : Datory.Entity
  12. {
  13. /// <summary>
  14. /// 会议主题
  15. /// </summary>
  16. [DataColumn]
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 会议地址Id
  20. /// </summary>
  21. [DataColumn]
  22. public int LocationId { get; set; }
  23. /// <summary>
  24. /// 会议室Id
  25. /// </summary>
  26. [DataColumn]
  27. public int RoomId { get; set; }
  28. [DataColumn]
  29. public string OrderIdCollection { get; set; }
  30. /// <summary>
  31. /// 会议地址Id
  32. /// </summary>
  33. public IEnumerable<int> OrderIds
  34. {
  35. get => StringUtils.StringCollectionToIntList(OrderIdCollection);
  36. set => OrderIdCollection = string.Join(',', value);
  37. }
  38. /// <summary>
  39. /// 会议开始时间
  40. /// </summary>
  41. [DataColumn]
  42. public DateTime? StartDateTime { get; set; }
  43. /// <summary>
  44. /// 会议结束时间
  45. /// </summary>
  46. [DataColumn]
  47. public DateTime? EndDateTime { get; set; }
  48. /// <summary>
  49. /// 描述
  50. /// </summary>
  51. [DataColumn]
  52. public string Description { get; set; }
  53. /// <summary>
  54. /// 发起人
  55. /// </summary>
  56. [DataColumn]
  57. public int UserId { get; set; }
  58. /// <summary>
  59. ///
  60. /// </summary>
  61. /// <value></value>
  62. [DataColumn]
  63. public string FileIdCollection { get; set; }
  64. /// <summary>
  65. /// 附件Id列表
  66. /// </summary>
  67. public IEnumerable<int> FileIds { get; set; }
  68. /// <summary>
  69. ///
  70. /// </summary>
  71. /// <value></value>
  72. [DataColumn]
  73. public string UserIdCollection { get; set; }
  74. /// <summary>
  75. /// 参会人Id列表
  76. /// </summary>
  77. public IEnumerable<int> UserIds
  78. {
  79. get => StringUtils.StringCollectionToIntList(UserIdCollection);
  80. set => UserIdCollection = string.Join(',', value);
  81. }
  82. }
  83. }