12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.EducationManagement;
- using EMIS.Entities;
- namespace EMIS.ViewModel.EducationSchedule
- {
- public class EducationSchedulingWeekNumView
- {
- public Guid EducationSchedulingWeekNumID { get; set; }
- public Guid? EducationSchedulingID { get; set; }
- public Guid? SchoolyearID { get; set; }
- public Guid? EducationMissionClassID { get; set; }
- public int? WeekNum { get; set; }
- public int? Weekday { get; set; }
- public Guid? CoursesTimeID { get; set; }
- public DateTime Date { get; set; }
- public TimeSpan StartTime { get; set; }
- public TimeSpan EndTime { get; set; }
- public Guid? ClassroomID { get; set; }
- public IEnumerable<MissionClassTeacherView> TeacherList { get; set; }
- public string TeacherNames
- {
- get
- {
- string name = string.Empty;
- if (TeacherList != null)
- name = string.Join(",", TeacherList.Select(s => s.Name));
- if (string.IsNullOrEmpty(name))
- {
- return "";
- }
- else
- {
- return name;
- }
- }
- }
- public IEnumerable<CF_Student> StudentList { get; set; }
- }
- }
|