123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- 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
- {
- /// <summary>
- /// 任务班ID
- /// </summary>
- [DisplayName("任务班ID")]
- [Required]
- public Guid? EducationMissionClassID { get; set; }
- /// <summary>
- /// 任务班名称
- /// </summary>
- [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; }
- /// <summary>
- /// 参评类型ID
- /// </summary>
- [DisplayName("参评类型ID")]
- public Guid? EvaluationTypeID { get; set; }
- /// <summary>
- /// 参评类型名称
- /// </summary>
- [DisplayName("参评类型名称")]
- public string EvaluationTypeName { get; set; }
- /// <summary>
- /// 评价表ID
- /// </summary>
- [DisplayName("评价表ID")]
- [Required]
- public Guid? TableID { get; set; }
- /// <summary>
- /// 评价表名
- /// </summary>
- [DisplayName("评价表名")]
- public string EvaluationTableName { get; set; }
- /// <summary>
- /// 评价表编号
- /// </summary>
- [DisplayName("评价表编号")]
- public string EvaluationTableNo { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- public Guid? SchoolyearID { get; set; }
- /// <summary>
- /// 学年学期代码
- /// </summary>
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public int OpenStatus { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public string OpenStatusName { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [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> 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; }
-
- /// <summary>
- /// 参评人
- /// </summary>
- [DisplayName("教师名称")]
- public IEnumerable<ParticipatorView> Participators { get; set; }
- ///// <summary>
- ///// 参评人名称
- ///// </summary>
- //[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; }
- //}
-
- }
|