using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; using EMIS.Entities; namespace EMIS.ViewModel.EvaluationManage { public class EvaluationAdviseView { [DisplayName("院系所ID")] public Guid? CollegeID { get; set; } [DisplayName("院系所")] public Guid? CollegeName { get; set; } [DisplayName("教研室")] public Guid? DepartmentID { get; set; } [DisplayName("教研室")] public string DepartmentName { get; set; } /// /// 评语建议 /// [DisplayName("评语建议")] public string Remark { get; set; } /// /// 学年学期 /// [DisplayName("学年学期")] public Guid? SchoolyearID { get; set; } /// /// 学年学期代码 /// [DisplayName("学年学期")] public string SchoolyearCode { get; set; } /// /// 评价表ID /// [DisplayName("评价表")] public Guid? EvaluationTableID { get; set; } /// /// 评价表名 /// [DisplayName("评价表名")] public string EvaluationTableName { get; set; } /// /// 评价表编号 /// [DisplayName("评价表编号")] public string EvaluationTableNo { get; set; } /// /// 参评类型 /// [DisplayName("参评类型")] public string EvaluationTypeName { get; set; } /// /// 参评类型 /// [DisplayName("参评类型ID")] public Guid? EvaluationTypeID { get; set; } /// /// 任务班ID /// [DisplayName("教学任务班")] public Guid? EducationMissionClassID { get; set; } /// /// 任务班名称 /// [DisplayName("任务班名称")] public string EducationMissionClassName { get; set; } [DisplayName("课程名称")] public Guid? CoursematerialID { get; set; } /// /// 课程名称 /// [DisplayName("课程名称")] public string CourseName { get; set; } /// /// 课程代码 /// [DisplayName("课程代码")] public string CourseCode { 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)); } } } }