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; }
///
/// 教室
///
public Guid? ClassroomID { get; set; }
///
/// 教室代码
///
public string ClassroomCode { get; set; }
///
/// 教室名称
///
public string ClassroomName { get; set; }
///
/// 院系所
///
public string CollegeName { get; set; }
///
/// 教室状态
///
public string ClassroomstateName { get; set; }
///
/// 是否多媒体
///
public string IsMediaName { get; set; }
///
/// 总座位数
///
public decimal? Totalseating { get; set; }
///
/// 有效座位数
///
public decimal? Effectiveseating { get; set; }
///
/// 教室类型
///
public HashSet ClassroomTypes { get; set; }
///
/// 教室类型
///
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; }
}
}