123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.MinorGraduation.MinorGraduationManage
- {
- public class MinorGraduationApplyView
- {
- /// <summary>
- /// 毕业申请ID
- /// </summary>
- [DisplayName("毕业申请ID")]
- public Guid MinorGraduationApplyID { get; set; }
- /// <summary>
- /// 用户ID
- /// </summary>
- [Required]
- [DisplayName("用户ID")]
- public Guid? UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [DisplayName("学号")]
- public string StudentNo { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string UserName { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- [DisplayName("性别")]
- public int? Sex { get; set; }
- /// <summary>
- /// 性别
- /// </summary>
- [DisplayName("性别")]
- public string SexName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString())
- .Where(x => x.Value == Sex)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学生类别
- /// </summary>
- [Required]
- [DisplayName("学生类别")]
- public int? StudentTypeID { get; set; }
- /// <summary>
- /// 学生类别
- /// </summary>
- [DisplayName("学生类别")]
- public string StudentTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_STUDENTTYPE.ToString())
- .Where(x => x.Value == StudentTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 辅修班级ID
- /// </summary>
- [DisplayName("辅修班级ID")]
- public Guid ClassminorID { get; set; }
- /// <summary>
- /// 班级名称
- /// </summary>
- [Required]
- [DisplayName("辅修班级")]
- public string ClassminorName { 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 = "CollegeCode")]
- public string CollegeNo { get; set; }
- /// <summary>
- /// 院系所名称
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 毕业类型
- /// </summary>
- [Required]
- [DisplayName("毕业类型")]
- public int? GraduationTypeID { get; set; }
- /// <summary>
- /// 毕业类型
- /// </summary>
- [DisplayName("毕业类型")]
- public string GraduationTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.ER_GraduationType.ToString())
- .Where(x => x.Value == GraduationTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 在校状态
- /// </summary>
- [Required]
- [DisplayName("在校状态")]
- public int? InSchoolStatusID { get; set; }
- /// <summary>
- /// 在校状态
- /// </summary>
- [DisplayName("在校状态")]
- public string InSchoolStatusName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString())
- .Where(x => x.Value == InSchoolStatusID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 毕业学期ID(实际的毕业学期)
- /// </summary>
- [Required]
- [DisplayName("毕业学期ID")]
- public Guid? GraduatingSemesterID { get; set; }
- /// <summary>
- /// 毕业学期
- /// </summary>
- [DisplayName("毕业学期")]
- public string GraduatingSemesterCode { get; set; }
- /// <summary>
- /// 毕业学期Value
- /// </summary>
- [DisplayName("Value")]
- public int? GraduatingSemesterValue { get; set; }
- /// <summary>
- /// 申请学期ID(毕业申请)
- /// </summary>
- [Required]
- [DisplayName("申请学期ID")]
- public Guid? ApplySchoolyearID { get; set; }
- /// <summary>
- /// 申请学期(毕业申请)
- /// </summary>
- [DisplayName("申请学期")]
- public string ApplySchoolyearCode { get; set; }
- /// <summary>
- /// 毕业公式ID
- /// </summary>
- [Required]
- [DisplayName("毕业公式ID")]
- public Guid? MinorGraduationConditionPackageID { get; set; }
- /// <summary>
- /// 毕业公式名称
- /// </summary>
- [DisplayName("毕业公式名称")]
- public string Title { get; set; }
- /// <summary>
- /// 审核状态
- /// </summary>
- [DisplayName("审核状态")]
- public int? ApprovalStatus { get; set; }
- /// <summary>
- /// 审核状态
- /// </summary>
- [DisplayName("审核状态")]
- public string ApprovalStatusName { get; set; }
- /// <summary>
- /// 毕业结论
- /// </summary>
- [Required]
- [DisplayName("毕业结论")]
- public int? MinorGraduationResult { get; set; }
- /// <summary>
- /// 毕业结论
- /// </summary>
- [DisplayName("毕业结论")]
- public string MinorGraduationResultName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.ER_GraduationResult.ToString())
- .Where(x => x.Value == MinorGraduationResult)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 预审结论
- /// </summary>
- [DisplayName("预审结论")]
- public string ApprovalResult { get; set; }
- /// <summary>
- /// 处理动作
- /// </summary>
- [Required]
- [DisplayName("处理动作")]
- public string Action { get; set; }
- /// <summary>
- /// 处理意见
- /// </summary>
- [DisplayName("处理意见")]
- public string Comment { get; set; }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- /// <summary>
- /// 备注(学籍异动)
- /// </summary>
- [DisplayName("备注")]
- public string Remark { get; set; }
- /// <summary>
- /// 创建人ID
- /// </summary>
- [DisplayName("创建人ID")]
- public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 修改人ID
- /// </summary>
- [DisplayName("修改人ID")]
- public Guid? ModifyUserID { get; set; }
- /// <summary>
- /// 修改时间
- /// </summary>
- [DisplayName("修改时间")]
- public DateTime? ModifyTime { get; set; }
- }
- }
|