123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Utility;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.EducationManage
- {
- public class EducationSchedulingClassScheduleView : EducationSchedulingClassView
- {
- public Guid? DepartmentID { get; set; }
- /// <summary>
- /// 院系所
- /// </summary>
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 开课院系所
- /// </summary>
- public Guid? CourseCollegeID { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- public Guid? SchoolYearID { get; set; }
- /// <summary>
- /// 课程ID
- /// </summary>
- public Guid? CoursematerialID { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- public string CoursematerialName { get; set; }
- /// <summary>
- /// 授课方式
- /// </summary>
- public int? TeachingModeID { get; set; }
- public string TeachingModeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeachingMode.ToString())
- .Where(x => x.Value == TeachingModeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 课程类型
- /// </summary>
- public int? CourseTypeID { get; set; }
- //每周次数
- public int? WeekTimes { get; set; }
- /// <summary>
- /// 周学时
- /// </summary>
- public int? WeeklyHours { get; set; }
- /// <summary>
- /// 任务班名称
- /// </summary>
- public string EducationMissionClassName { get; set; }
- /// <summary>
- /// 排课序号
- /// </summary>
- public int? EducationMissionClassOrderNo { get; set; }
- /// <summary>
- /// 选修类型
- /// </summary>
- public int? OptionalCourseTypeID { get; set; }
- /// <summary>
- /// 教室ID
- /// </summary>
- public Guid? ClassroomID { get; set; }
- public string ClassroomName { get; set; }
- /// <summary>
- /// 教室类型ID
- /// </summary>
- public int? ClassroomTypeID { get; set; }
- /// <summary>
- /// 上课周列表
- /// </summary>
- public List<int?> WeeklyNumList { get; set; }
- /// <summary>
- /// 上课周字符串
- /// </summary>
- public string WeeklyNumString
- {
- get
- {
- return WeeklyNumList.GetWeekNumString();
- }
- }
- /// <summary>
- /// 教师列表
- /// </summary>
- public List<BaseTeacherTeachingView> TeacherTeachingViewList { get; set; }
- public List<Guid> ClassMajorIDList { get; set; }
- public List<CourseProcessView> CourseProcessViewList { get; set; }
- public string TeacherNames
- {
- get
- {
- return string.Join(",", TeacherTeachingViewList.Select(x => x.Name).Distinct().ToList());
- }
- }
- /// <summary>
- /// 执行学时
- /// </summary>
- public int? ExecutablePlanCourseTime { get; set; }
- /// <summary>
- /// 剩余学时
- /// </summary>
- public int? RemainCourseTime { get; set; }
- /// <summary>
- /// 开始周次
- /// </summary>
- public int? StartWeeklyNum { get; set; }
- /// <summary>
- /// 结束周次
- /// </summary>
- public int? EndWeeklyNum { get; set; }
- /// <summary>
- /// 执行周次
- /// </summary>
- public string StartStopWeeklyNum { get { return (string.Format("{0}-{1}", StartWeeklyNum, EndWeeklyNum)); } }
- /// <summary>
- /// 根据院系优先级设置,判断该教学任务是否在可编辑时间段内
- /// </summary>
- public bool IsCanEdit { get; set; }
- /// <summary>
- /// 获取院系课表提交状态
- /// </summary>
- public int? CollegeApproveStatusID { get; set; }
- }
- }
|