123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- 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.MinorManage.MinorApply
- {
- public class MinorApplyView
- {
- /// <summary>
- /// 辅修专业学生报名ID
- /// </summary>
- [DisplayName("辅修专业学生报名ID")]
- public Guid StudentMinorRegistID { get; set; }
- /// <summary>
- /// 学生ID
- /// </summary>
- [DisplayName("学生ID")]
- public Guid? UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [DisplayName("学号")]
- public string LoginID { get; set; }
- /// <summary>
- /// 学生姓名
- /// </summary>
- [DisplayName("学生姓名")]
- public string UserName { get; set; }
- /// <summary>
- /// 学年学期ID
- /// </summary>
- [DisplayName("学年学期ID")]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public int? GradeYearID { get; set; }
- /// <summary>
- /// 年级
- /// </summary>
- [DisplayName("年级")]
- public string Grade
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeYearID).Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 年级专业ID
- /// </summary>
- [DisplayName("年级专业ID")]
- public Guid? GrademajorID { get; set; }
- /// <summary>
- /// 年级专业代码
- /// </summary>
- [DisplayName("年级专业代码")]
- public string GrademajorCode { get; set; }
- /// <summary>
- /// 年级专业名称
- /// </summary>
- [DisplayName("年级专业名称")]
- public string GrademajorName { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [Required]
- [DisplayName("班级名称")]
- public Guid? ClassmajorID { get; set; }
- /// <summary>
- /// 班级编号
- /// </summary>
- [DisplayName("班级编号")]
- public string ClassmajorCode { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [DisplayName("班级名称")]
- public string ClassmajorName { get; set; }
- /// <summary>
- /// 辅修专业ID
- /// </summary>
- [DisplayName("辅修专业ID")]
- public Guid? GrademinorID { get; set; }
- /// <summary>
- /// 辅修专业代码
- /// </summary>
- [DisplayName("辅修专业代码")]
- public string GrademinorCode { get; set; }
- /// <summary>
- /// 辅修专业名称
- /// </summary>
- [DisplayName("辅修专业名称")]
- public string GrademinorName { get; set; }
- /// <summary>
- /// 学院ID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 学院代码
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeCode { get; set; }
- /// <summary>
- /// 学院名称
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public int? OpenStatus { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public string OpenStatusStr
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_GrademinorStatus.ToString())
- .Where(x => x.Value == OpenStatus)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public string RecordStatusStr { get; set; }
- /// <summary>
- /// 处理动作
- /// </summary>
- [Required]
- [DisplayName("处理动作")]
- public string Action { get; set; }
- /// <summary>
- /// 处理意见
- /// </summary>
- [DisplayName("处理意见")]
- public string Comment { get; set; }
- }
- }
|