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