SCalendarView.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.ComponentModel;
  7. namespace EMIS.ViewModel.CalendarManage
  8. {
  9. public class SCalendarView
  10. {
  11. /// <summary>
  12. /// 主键ID
  13. /// </summary>
  14. [DisplayName("主键ID")]
  15. public Guid? ActivitiesID { get; set; }
  16. /// <summary>
  17. /// 活动名称
  18. /// </summary>
  19. [Required]
  20. [DisplayName("活动名称")]
  21. public string Name { get; set; }
  22. /// <summary>
  23. /// 活动日期
  24. /// </summary>
  25. [Required]
  26. [DisplayName("活动日期")]
  27. public DateTime? ActivitiesTime { get; set; }
  28. /// <summary>
  29. /// 活动日期
  30. /// </summary>
  31. [DisplayName("活动日期")]
  32. public string ActivitiesTimeName { get; set; }
  33. /// <summary>
  34. /// 时间段
  35. /// </summary>
  36. [Required]
  37. [DisplayName("时间段")]
  38. public int? TimesSegment { get; set; }
  39. /// <summary>
  40. /// 时间段
  41. /// </summary>
  42. [DisplayName("时间段")]
  43. public string TimesSegmentName { get; set; }
  44. /// <summary>
  45. /// 活动内容
  46. /// </summary>
  47. [DisplayName("活动内容")]
  48. public string ActivitiesContent { get; set; }
  49. /// <summary>
  50. /// 活动类型
  51. /// </summary>
  52. [Required]
  53. [DisplayName("活动类型")]
  54. public int? ActivitiesType { get; set; }
  55. /// <summary>
  56. /// 活动类型
  57. /// </summary>
  58. [DisplayName("活动类型")]
  59. public string ActivitiesTypeName { get; set; }
  60. /// <summary>
  61. /// 创建人
  62. /// </summary>
  63. [DisplayName("创建人")]
  64. public Guid? CreateUserID { get; set; }
  65. /// <summary>
  66. /// 创建时间
  67. /// </summary>
  68. [DisplayName("创建时间")]
  69. public DateTime? CreateTime { get; set; }
  70. }
  71. }