using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using EMIS.Entities; namespace EMIS.ViewModel.EvaluationManage { public class EvaluationSettingDetailView { /// /// ID /// [DisplayName("评价设定ID")] public Guid EvaluationSettingID { get; set; } //学年学期、课程名称、班级名称、学号、姓名、参评类型、被评教师编号、被评教师、评价表名 /// /// 评价表名 /// [DisplayName("评价表名")] public string EvaluationTableName { get; set; } /// /// 学年学期 /// [DisplayName("学年学期")] public string SchoolyearCode { get; set; } public string CourseCode { get; set; } /// /// 课程名称 /// [DisplayName("课程名称")] public string CourseName { get; set; } /// /// 教研室 /// [DisplayName("教研室")] public string DepartmentName { get; set; } /// /// 课程名称 /// [DisplayName("班级名称")] public string EducationMissionClassName { get; set; } /// /// 参评类型 /// [DisplayName("参评类型")] public string EvaluationTypeName { get; set; } /// /// 姓名 /// [DisplayName("姓名")] public string Name { get; set; } /// /// 姓名 /// [DisplayName("姓名")] public string UserName { get; set; } /// /// 学号 /// [DisplayName("学号")] public string LoginID { get; set; } public Guid UserID { get; set; } /// /// 学号 /// [DisplayName("教职工号")] public string StaffCode { get; set; } public IEnumerable Sys_User { get; set; } [DisplayName("教师名称")] public string UserNames { get { return string.Join(",", Sys_User.Select(s => s.Name)); } } [DisplayName("教师编号")] public string UserCodes { get { return string.Join(",", Sys_User.Select(s => s.LoginID)); } } } }