12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.UniversityManage.ClassroomManage;
- namespace EMIS.ViewModel.SchedulingManage.SchedulingSettings
- {
- public class ClassroomScheduleSettingView
- {
- public Guid? ClassroomScheduleSettingID { get; set; }
- /// <summary>
- /// 教室
- /// </summary>
- public Guid? ClassroomID { get; set; }
- /// <summary>
- /// 教室代码
- /// </summary>
- public string ClassroomCode { get; set; }
- /// <summary>
- /// 教室名称
- /// </summary>
- public string ClassroomName { get; set; }
- /// <summary>
- /// 院系所
- /// </summary>
- public string CollegeName { get; set; }
- /// <summary>
- /// 教室状态
- /// </summary>
- public string ClassroomstateName { get; set; }
- /// <summary>
- /// 是否多媒体
- /// </summary>
- public string IsMediaName { get; set; }
- /// <summary>
- /// 总座位数
- /// </summary>
- public decimal? Totalseating { get; set; }
- /// <summary>
- /// 有效座位数
- /// </summary>
- public decimal? Effectiveseating { get; set; }
- /// <summary>
- /// 教室类型
- /// </summary>
- public HashSet<ClassroomTypeView> ClassroomTypes { get; set; }
- /// <summary>
- /// 教室类型
- /// </summary>
- public string ClassroomTypeNames
- {
- get
- {
- string name = string.Join(",", ClassroomTypes.Select(x => x.ClassroomTypeName).ToList());
- if (string.IsNullOrEmpty(name))
- {
- return "";
- }
- else
- {
- return name;
- }
- }
- }
- public Guid? CreateUserID { get; set; }
- public DateTime? CreateTime { get; set; }
- }
- }
|