ClassroomExcessiveUseEditView.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.EducationSchedule
  8. {
  9. public class ClassroomExcessiveUseEditView
  10. {
  11. public ClassroomExcessiveUseEditView()
  12. {
  13. this.WeekNumList = new List<int>();
  14. this.WeekdayList = new List<int>();
  15. this.CoursesTimeIDList = new List<Guid>();
  16. }
  17. public System.Guid ClassroomExcessiveUseID { get; set; }
  18. [Required]
  19. [DisplayName("教室")]
  20. public Nullable<System.Guid> ClassroomID { get; set; }
  21. [Required]
  22. [DisplayName("学年学期")]
  23. public Nullable<System.Guid> SchoolyearID { get; set; }
  24. [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "UsingCollege")]
  25. public Nullable<System.Guid> CollegeID { get; set; }
  26. [DisplayName("使用人")]
  27. public Nullable<System.Guid> UserID { get; set; }
  28. [DisplayName("活动内容")]
  29. public string Content { get; set; }
  30. [DisplayName("周次")]
  31. public List<int> WeekNumList { get; set; }
  32. [DisplayName("星期")]
  33. public List<int> WeekdayList { get; set; }
  34. [DisplayName("节次")]
  35. public List<Guid> CoursesTimeIDList { get; set; }
  36. }
  37. }