1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using EMIS.ViewModel.EducationManagement;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.RetakeManage
- {
- public class RetakeStudentApplyView : RetakeStudentView
- {
- public Guid RetakePlanStudentID { get; set; }
- public Guid? EducationMissionID { get; set; }
- public IEnumerable<RetakePlanStudentTeacherView> RetakePlanStudentTeacherView { get; set; }
- public string TeacherName
- {
- get
- {
- string name = string.Empty;
- if (RetakePlanStudentTeacherView != null)
- name = string.Join(",", RetakePlanStudentTeacherView.Select(s => s.Name));
- if (string.IsNullOrEmpty(name))
- {
- return "";
- }
- else
- {
- return name;
- }
- }
- }
- public int? TimeID { get; set; }
- public string CourseTimeDesc
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TimesSegment.ToString())
- .Where(x => x.Value == TimeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- public Guid? CourseTimeID { get; set; }
- public int? ScheduledTimes { get; set; }
- public Guid? ClassroomID { get; set; }
- public string ClassroomName { get; set; }
- public int? RecordStatus { get; set; }
- public string RecordStatusDesc { get; set; }
- public bool IsCanApply { get; set; }
- }
- }
|