using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using EMIS.Entities; using EMIS.ViewModel.UniversityManage.TeacherManage; namespace EMIS.ViewModel.EvaluationManage { public class TeacherEvaluationCountView { /// /// 任务班ID /// [DisplayName("任务班ID")] [Required] public Guid? EducationMissionClassID { get; set; } /// /// 任务班名称 /// [DisplayName("任务班名称")] public string EducationMissionClassName { get; set; } [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")] public Guid? CollegeID { get; set; } [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeName")] public string CollegeName { get; set; } /// /// 参评类型ID /// [DisplayName("参评类型ID")] public Guid? EvaluationTypeID { get; set; } /// /// 参评类型名称 /// [DisplayName("参评类型名称")] public string EvaluationTypeName { get; set; } /// /// 评价表ID /// [DisplayName("评价表ID")] [Required] public Guid? TableID { get; set; } /// /// 评价表名 /// [DisplayName("评价表名")] public string EvaluationTableName { get; set; } /// /// 评价表编号 /// [DisplayName("评价表编号")] public string EvaluationTableNo { get; set; } /// /// 学年学期 /// [DisplayName("学年学期")] public Guid? SchoolyearID { get; set; } /// /// 学年学期代码 /// [DisplayName("学年学期")] public string SchoolyearCode { get; set; } /// /// 开放状态 /// [DisplayName("开放状态")] public int OpenStatus { get; set; } /// /// 开放状态 /// [DisplayName("开放状态")] public string OpenStatusName { get; set; } /// /// 备注 /// [DisplayName("备注")] public string Remark { get; set; } [DisplayName("教研室ID")] public Guid? DepartmentID { get; set; } [DisplayName("教研室名称")] public string DepartmentName { get; set; } public Guid? CampusID { get; set; } public IEnumerable Sys_User { get; set; } [DisplayName("教师工号")] public string TeacherNo { get; set; } [DisplayName("教师名称")] public string TeacherName { get; set; } [DisplayName("已评人次")] public int? CompleteCount { get; set; } [DisplayName("未评人次")] public int? UncompletedCount { get; set; } [DisplayName("需评人次")] public int? NeedEvaluationCount { get; set; } /// /// 参评人 /// [DisplayName("教师名称")] public IEnumerable Participators { get; set; } ///// ///// 参评人名称 ///// //[DisplayName("参选人")] //public string ParticipatorNames //{ // get // { // return string.Join(",", Participators.Select(s => s.Name)); // } //} } //public class ParticipatorView //{ // public string Code { get; set; } // public string Name { get; set; } //} }