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; }
-
-
-
- public Guid? CollegeID { get; set; }
-
-
-
- public Guid? CourseCollegeID { get; set; }
-
-
-
- public Guid? SchoolYearID { get; set; }
-
-
-
- public Guid? CoursematerialID { get; set; }
-
-
-
- public string CoursematerialName { get; set; }
-
-
-
- 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();
- }
- }
-
-
-
- public int? CourseTypeID { get; set; }
-
- public int? WeekTimes { get; set; }
-
-
-
- public int? WeeklyHours { get; set; }
-
-
-
- public string EducationMissionClassName { get; set; }
-
-
-
- public int? EducationMissionClassOrderNo { get; set; }
-
-
-
- public int? OptionalCourseTypeID { get; set; }
-
-
-
- public Guid? ClassroomID { get; set; }
- public string ClassroomName { get; set; }
-
-
-
- public int? ClassroomTypeID { get; set; }
-
-
-
- public List<int?> WeeklyNumList { get; set; }
-
-
-
- public string WeeklyNumString
- {
- get
- {
- return WeeklyNumList.GetWeekNumString();
- }
- }
-
-
-
- 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());
- }
- }
-
-
-
- public int? ExecutablePlanCourseTime { get; set; }
-
-
-
- public int? RemainCourseTime { get; set; }
-
-
-
- public int? StartWeeklyNum { get; set; }
-
-
-
- public int? EndWeeklyNum { get; set; }
-
-
-
- public string StartStopWeeklyNum { get { return (string.Format("{0}-{1}", StartWeeklyNum, EndWeeklyNum)); } }
-
-
-
- public bool IsCanEdit { get; set; }
-
-
-
- public int? CollegeApproveStatusID { get; set; }
- }
- }
|