123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.ScoreManage
- {
- public class MisconductView
- {
- /// <summary>
- /// 违纪名单ID
- /// </summary>
- public System.Guid MisconductID { get; set; }
- /// <summary>
- /// 学生ID
- /// </summary>
- [Required]
- [DisplayName("学号")]
- public Nullable<System.Guid> UserID { get; set; }
- [DisplayName("学号")]
- public string LoginID { get; set; }
- [DisplayName("姓名")]
- public string Name { get; set; }
- [DisplayName("班级")]
- public string ClassmajorName { get; set; }
- public int? Year { get; set; }
- public int? StandardID { get; set; }
- /// <summary>
- /// 院系所ID
- /// </summary>
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [Required]
- [DisplayName("学年学期")]
- public Nullable<System.Guid> SchoolyearID { get; set; }
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 课程ID
- /// </summary>
- [Required]
- [DisplayName("课程名称")]
- public Nullable<System.Guid> CoursematerialID { get; set; }
- [DisplayName("课程代码")]
- public string CourseCode { get; set; }
- [DisplayName("课程名称")]
- public string CourseName { get; set; }
- /// <summary>
- /// 考试性质
- /// </summary>
- [Required]
- [DisplayName("考试性质")]
- public Nullable<int> ExamsCategoryID { get; set; }
- [DisplayName("考试性质")]
- public string ExamsCategoryName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ExamsCategory.ToString())
- .Where(x => x.Value == ExamsCategoryID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 考试状态(舞弊类型)
- /// </summary>
- [Required]
- [DisplayName("考试状态")]
- public Nullable<int> ExamsStateID { get; set; }
- [DisplayName("考试状态")]
- public string ExamsStateName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_ExamsState.ToString())
- .Where(x => x.Value == ExamsStateID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- [DisplayName("申请原因")]
- public string Reason { get; set; }
- /// <summary>
- /// 审核状态
- /// </summary>
- [DisplayName("审核状态")]
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusName { get; set; }
- public DateTime? CreateTime { get; set; }
- }
- }
|