123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- 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 TeacherEvaluationView
- {
- /// <summary>
- /// ID
- /// </summary>
- [DisplayName("ID")]
- public Guid EntityID { get; set; }
- /// <summary>
- /// 编号
- /// </summary>
- [DisplayName("编号")]
- public string EntityCode { get; set; }
- /// <summary>
- /// 任务班ID
- /// </summary>
- [DisplayName("任务班ID")]
- [Required]
- public Guid? EducationMissionClassID { get; set; }
- /// <summary>
- /// 任务班名称
- /// </summary>
- [DisplayName("任务班名称")]
- public string EducationMissionClassName { 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 string CourseName { get; set; }
- /// <summary>
- /// 课程代码
- /// </summary>
- [DisplayName("课程代码")]
- public string CourseCode { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public int OpenStatus { get; set; }
- /// <summary>
- /// 开放状态
- /// </summary>
- [DisplayName("开放状态")]
- public string OpenStatusName { get; set; }
- ///// <summary>
- ///// 状态
- ///// </summary>
- //[DisplayName("状态")]
- //public int RecordStatus { get; set; }
- ///// <summary>
- ///// 创建人
- ///// </summary>
- //[DisplayName("创建人")]
- //public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? EntityCreateTime { get; set; }
- ///// <summary>
- ///// 修改人
- ///// </summary>
- //[DisplayName("修改人")]
- //public Guid? ModifyUserID { get; set; }
- ///// <summary>
- ///// 修改时间
- ///// </summary>
- //[DisplayName("修改时间")]
- //public DateTime? ModifyTime { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("备注")]
- public string Remark { get; set; }
- public Guid? DepartmentID { get; set; }
- public Guid? CollegeID { get; set; }
- public Guid? CampusID { get; set; }
- public IEnumerable<Sys_User> Sys_User { get; set; }
- [DisplayName("教师名称")]
- public string UserNames
- {
- get
- {
- return string.Join(",", Sys_User.Select(s => s.Name));
- }
- }
- /// <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; }
- }
- }
|