123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- 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
- {
- /// <summary>
- /// ID
- /// </summary>
- [DisplayName("评价设定ID")]
- public Guid EvaluationSettingID { get; set; }
- //学年学期、课程名称、班级名称、学号、姓名、参评类型、被评教师编号、被评教师、评价表名
- /// <summary>
- /// 评价表名
- /// </summary>
- [DisplayName("评价表名")]
- public string EvaluationTableName { get; set; }
- /// <summary>
- /// 学年学期
- /// </summary>
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
- public string CourseCode { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- [DisplayName("课程名称")]
- public string CourseName { get; set; }
- /// <summary>
- /// 教研室
- /// </summary>
- [DisplayName("教研室")]
- public string DepartmentName { get; set; }
- /// <summary>
- /// 课程名称
- /// </summary>
- [DisplayName("班级名称")]
- public string EducationMissionClassName { get; set; }
- /// <summary>
- /// 参评类型
- /// </summary>
- [DisplayName("参评类型")]
- public string EvaluationTypeName { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string Name { get; set; }
- /// <summary>
- /// 姓名
- /// </summary>
- [DisplayName("姓名")]
- public string UserName { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [DisplayName("学号")]
- public string LoginID { get; set; }
- public Guid UserID { get; set; }
- /// <summary>
- /// 学号
- /// </summary>
- [DisplayName("教职工号")]
- public string StaffCode { get; set; }
- public IEnumerable<Sys_User> 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));
- }
- }
- }
- }
|