SOCStudentView.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.ComponentModel;
  6. using System.ComponentModel.DataAnnotations;
  7. using EMIS.ViewModel.CacheManage;
  8. namespace EMIS.ViewModel.DQPSystem
  9. {
  10. public class SOCStudentView
  11. {
  12. /// <summary>
  13. /// 主键ID
  14. /// </summary>
  15. [DisplayName("主键ID")]
  16. public Guid SOCDetailID { get; set; }
  17. /// <summary>
  18. /// 课程SOCID
  19. /// </summary>
  20. [DisplayName("课程SOCID")]
  21. public Guid? SOCID { get; set; }
  22. public Guid? SOCDetailGroupID { get; set; }
  23. /// <summary>
  24. /// 学年学期ID
  25. /// </summary>
  26. [DisplayName("学年学期ID")]
  27. public Guid? SchoolyearID { get; set; }
  28. /// <summary>
  29. /// 学年学期
  30. /// </summary>
  31. [DisplayName("学年学期")]
  32. public string SchoolyearCode { get; set; }
  33. /// <summary>
  34. /// 课程资料
  35. /// </summary>
  36. [Required]
  37. [DisplayName("课程资料")]
  38. public Guid? CoursematerialID { get; set; }
  39. /// <summary>
  40. /// 课程资料代码
  41. /// </summary>
  42. [DisplayName("课程资料代码")]
  43. public string CourseCode { get; set; }
  44. /// <summary>
  45. /// 课程名称
  46. /// </summary>
  47. [DisplayName("课程名称")]
  48. public string CourseName { get; set; }
  49. /// <summary>
  50. /// 成果名称
  51. /// </summary>
  52. [DisplayName("成果名称")]
  53. public string Name { get; set; }
  54. /// <summary>
  55. /// 成果学分
  56. /// </summary>
  57. [DisplayName("成果学分")]
  58. public decimal? Credit { get; set; }
  59. /// <summary>
  60. /// 成果权重
  61. /// </summary>
  62. [DisplayName("成果权重")]
  63. public decimal? Weight { get; set; }
  64. /// <summary>
  65. /// 开始上传时间
  66. /// </summary>
  67. [DisplayName("开始上传时间")]
  68. public DateTime? StartTime { get; set; }
  69. /// <summary>
  70. /// 截止上传时间
  71. /// </summary>
  72. [DisplayName("截止上传时间")]
  73. public DateTime? EndTime { get; set; }
  74. /// <summary>
  75. /// 是否已上传
  76. /// </summary>
  77. [DisplayName("是否已上传")]
  78. public int? RecordStatus { get; set; }
  79. public string RecordStatusDesc
  80. {
  81. get
  82. {
  83. return IdNameExt.GetDictionaryItem(DictionaryItem.DQP_SOCDetailSubmitStatus.ToString())
  84. .Where(x => x.Value == RecordStatus)
  85. .Select(x => x.Name).FirstOrDefault();
  86. }
  87. }
  88. [DisplayName("意见")]
  89. public string Remark { get; set; }
  90. }
  91. }