123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using EMIS.ViewModel.CacheManage;
- using EMIS.ViewModel.EducationManagement;
- using EMIS.ViewModel.EducationManage;
- using EMIS.Entities;
- using EMIS.ViewModel.Students;
- namespace EMIS.ViewModel.DQPSystem
- {
- public class SOCGenerateView
- {
- /// <summary>
- /// 教学任务ID
- /// </summary>
- [DisplayName("教学任务ID")]
- public Guid? EducationMissionID { get; set; }
- /// <summary>
- /// SOC设置ID
- /// </summary>
- [DisplayName("SOC设置ID")]
- public Guid? SOCTemplateID { get; set; }
- /// <summary>
- /// 处理方式
- /// </summary>
- [DisplayName("处理方式")]
- public int? HandleModeID { get; set; }
- /// <summary>
- /// 处理方式
- /// </summary>
- [DisplayName("处理方式")]
- public string HandleModeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_HandleMode.ToString())
- .Where(x => x.Value == HandleModeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 选修类型
- /// </summary>
- public int? OptionalCourseTypeID { get; set; }
- /// <summary>
- /// 院系专业ID
- /// </summary>
- [DisplayName("院系专业ID")]
- public Guid? FacultymajorID { get; set; }
- /// <summary>
- /// 院系专业
- /// </summary>
- [DisplayName("院系专业")]
- public string FacultymajorName { get; set; }
- /// <summary>
- /// 开课学年
- /// </summary>
- //[Required]
- [DisplayName("开课学年")]
- public int? SchoolyearNumID { get; set; }
- [DisplayName("开课学年")]
- public string SchoolyearNumNameStr { get; set; }
- /// <summary>
- /// 开课学年
- /// </summary>
- [DisplayName("开课学年")]
- public string SchoolyearNumName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_SchoolyearNum.ToString())
- .Where(x => x.Value == SchoolyearNumID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 学期
- /// </summary>
- //[Required]
- [DisplayName("学期")]
- public int? SchoolcodeID { get; set; }
- [DisplayName("学期")]
- public string SchoolcodeStr { get; set; }
- /// <summary>
- /// 学期
- /// </summary>
- [DisplayName("学期")]
- public string SchoolcodeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Semester.ToString()).Where(x => x.Value == SchoolcodeID).Select(x => x.Name).FirstOrDefault();
- }
- }
- public SOCView SOCView { get; set; }
- public IEnumerable<SOCDetailView> SOCDetailViewList { get; set; }
- public EducationMissionClassView EducationMissionClassView { get; set; }
- public IEnumerable<MissionClassTeacherView> MissionClassTeacherViewList { get; set; }
- public List<Guid?> ClassmajorIDList { get; set; }
- public IEnumerable<Guid> StudentUserIDList { get; set; }
- public IEnumerable<CF_Classmajor> ClassmajorList { get; set; }
- public EducationMissionView EducationMissionView { get; set; }
- public IEnumerable<CF_Student> StudentList { get; set; }
- }
- }
|