1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- 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 ExaminationSuspensionView
- {
- /// <summary>
- /// 缓考名单ID
- /// </summary>
- public System.Guid ExaminationSuspensionID { 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();
- }
- }
- [DisplayName("申请原因")]
- public string Reason { get; set; }
- /// <summary>
- /// 审核状态
- /// </summary>
- [DisplayName("审核状态")]
- public Nullable<int> RecordStatus { get; set; }
- public string RecordStatusName { get; set; }
- /// <summary>
- /// 申请时间
- /// </summary>
- [DisplayName("申请时间")]
- [DisplayFormat(DataFormatString = "yyyy-MM-dd HH:mm:ss")]
- public Nullable<System.DateTime> CreateTime { get; set; }
- }
- }
|