123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- 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.EvaluationEnter
- {
- /// <summary>
- /// 进入评价
- /// </summary>
- public class EvaluationEnterView
- {
- /// <summary>
- /// ID
- /// </summary>
- [DisplayName("进入评价ID")]
- public Guid? EvaluationEnterID { get; set; }
- /// <summary>
- /// 评价设定ID
- /// </summary>
- [DisplayName("评价设定ID")]
- public Guid? EvaluationSettingID { get; set; }
- /// <summary>
- /// 评价编号
- /// </summary>
- [DisplayName("评价编号")]
- public string EvaluationSettingCode { get; set; }
- /// <summary>
- /// 任务班ID
- /// </summary>
- [DisplayName("教学任务班")]
- public Guid? EducationMissionClassID { get; set; }
- /// <summary>
- /// 任务班名称
- /// </summary>
- [DisplayName("任务班名称")]
- public string EducationMissionClassName { get; set; }
- /// <summary>
- /// 参评类型ID
- /// </summary>
- [DisplayName("参评类型ID")]
- public Guid? EvaluationTypeID { get; set; }
- /// <summary>
- /// 参评类型
- /// </summary>
- [DisplayName("参评类型")]
- public string EvaluationTypeName { get; set; }
- /// <summary>
- /// 评价类型
- /// </summary>
- [DisplayName("评价类型ID")]
- public Guid? EvaluationTableTypeID { get; set; }
- /// <summary>
- /// 评价类型ID
- /// </summary>
- [DisplayName("评价类型ID")]
- public Guid? EvaluationIntTypeID { get; set; }
- /// <summary>
- /// 评价类型
- /// </summary>
- [DisplayName("评价类型")]
- public string EvaluationTableTypeName { get; set; }
- /// <summary>
- /// 评价表ID
- /// </summary>
- [DisplayName("评价表ID")]
- public Guid? EvaluationTableID { 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>
- /// 院系所ID
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")]
- public Guid? CollegeID { get; set; }
- /// <summary>
- /// 院系所名称
- /// </summary>
- [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
- public string CollegeName { get; set; }
- /// <summary>
- /// 课程名称ID
- /// </summary>
- [DisplayName("课程名称")]
- public Guid? CoursematerialID { 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 string PhotoUrl { get; set; }
- /// <summary>
- /// 总分
- /// </summary>
- [DisplayName("总分")]
- public decimal TotalScore { 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; }
- [DisplayName("选中数据Json")]
- public string jsonDataStr { get; set; }
- ///// <summary>
- ///// 修改人
- ///// </summary>
- //[DisplayName("修改人")]
- //public Guid? ModifyUserID { get; set; }
- ///// <summary>
- ///// 修改时间
- ///// </summary>
- //[DisplayName("修改时间")]
- //public DateTime? ModifyTime { get; set; }
- [DisplayName("学生人数")]
- public int StudentCount { get; set; }
- [DisplayName("教职工人数")]
- public int StaffCount { get; set; }
- [DisplayName("已评次数")]
- public int EvaluationCount { get; set; }
- [DisplayName("限制次数")]
- public int? LimitMore { get; set; }
- [DisplayName("评价分数")]
- public decimal? EvaluationScore { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- [DisplayName("简要评语或建议")]
- [Required]
- public string Remark { get; set; }
- [DisplayName("教研室")]
- public Guid? DepartmentID { get; set; }
- [DisplayName("教研室")]
- public string DepartmentName { get; set; }
- public DateTime? ModifyTime { get; set; }
- public Guid? NormID { get; set; }
- [DisplayName("评价项目ID")]
- public Guid? ProjectID { get; set; }
- [DisplayName("用户ID")]
- public Guid? UserID { get; set; }
- public CF_Student CF_Student_User { get; set; }
- public IEnumerable<DepartmentStaffView> PartakeDepartmentStaff { get; set; }
- public IEnumerable<Sys_User> Sys_User { get; set; }
- public IEnumerable<Guid?> StaffDepartmentID { get; set; }
- public CF_Staff CF_Staff_User { get; set; }
- [DisplayName("是否可评")]
- public bool IsEvaluation { get; set; }
- [DisplayName("是否可评(学生)")]
- public bool IsStudentEvaluation { get; set; }
- /// <summary>
- /// 教师名称
- /// </summary>
- [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));
- }
- }
- }
- public class DepartmentStaffView
- {
- public Guid? EducationMissionClassID { get; set; }
- public Guid? DepartmentID { get; set; }
- public string Name { get; set; }
- public Guid UserID { get; set; }
- public string StaffCode { get; set; }
- }
- public class CoursematerialStaffView
- {
- public Guid? EducationMissionClassID { get; set; }
- public Guid? CoursematerialID { get; set; }
- public string Name { get; set; }
- public Guid UserID { get; set; }
- public string StaffCode { get; set; }
- }
- public class CreateTable
- {
- /// <summary>
- /// 次序
- /// </summary>
- public string OrderID { get; set; }
- /// <summary>
- /// 评价项目
- /// </summary>
- public string ProjectName { get; set; }
- /// <summary>
- /// 权重
- /// </summary>
- public string Weight { get; set; }
- /// <summary>
- /// 评分标准
- /// </summary>
- public string NormNames { get; set; }
- }
- }
|