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 { /// /// 进入评价 /// public class EvaluationEnterView { /// /// ID /// [DisplayName("进入评价ID")] public Guid? EvaluationEnterID { get; set; } /// /// 评价设定ID /// [DisplayName("评价设定ID")] public Guid? EvaluationSettingID { get; set; } /// /// 评价编号 /// [DisplayName("评价编号")] public string EvaluationSettingCode { get; set; } /// /// 任务班ID /// [DisplayName("教学任务班")] public Guid? EducationMissionClassID { get; set; } /// /// 任务班名称 /// [DisplayName("任务班名称")] public string EducationMissionClassName { get; set; } /// /// 参评类型ID /// [DisplayName("参评类型ID")] public Guid? EvaluationTypeID { get; set; } /// /// 参评类型 /// [DisplayName("参评类型")] public string EvaluationTypeName { get; set; } /// /// 评价类型 /// [DisplayName("评价类型ID")] public Guid? EvaluationTableTypeID { get; set; } /// /// 评价类型ID /// [DisplayName("评价类型ID")] public Guid? EvaluationIntTypeID { get; set; } /// /// 评价类型 /// [DisplayName("评价类型")] public string EvaluationTableTypeName { get; set; } /// /// 评价表ID /// [DisplayName("评价表ID")] public Guid? EvaluationTableID { 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; } /// /// 院系所ID /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CollegeID")] public Guid? CollegeID { get; set; } /// /// 院系所名称 /// [Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")] public string CollegeName { get; set; } /// /// 课程名称ID /// [DisplayName("课程名称")] public Guid? CoursematerialID { get; set; } /// /// 课程名称 /// [DisplayName("课程名称")] public string CourseName { get; set; } /// /// 课程代码 /// [DisplayName("课程代码")] public string CourseCode { get; set; } /// /// 开放状态 /// [DisplayName("开放状态")] public int OpenStatus { get; set; } /// /// 开放状态 /// [DisplayName("开放状态")] public string OpenStatusName { get; set; } /// /// 照片路径 /// [DisplayName("照片路径")] public string PhotoUrl { get; set; } /// /// 总分 /// [DisplayName("总分")] public decimal TotalScore { get; set; } ///// ///// 状态 ///// //[DisplayName("状态")] //public int RecordStatus { get; set; } ///// ///// 创建人 ///// //[DisplayName("创建人")] //public Guid? CreateUserID { get; set; } /// /// 创建时间 /// [DisplayName("创建时间")] public DateTime? EntityCreateTime { get; set; } [DisplayName("选中数据Json")] public string jsonDataStr { get; set; } ///// ///// 修改人 ///// //[DisplayName("修改人")] //public Guid? ModifyUserID { get; set; } ///// ///// 修改时间 ///// //[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; } /// /// 备注 /// [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 PartakeDepartmentStaff { get; set; } public IEnumerable Sys_User { get; set; } public IEnumerable StaffDepartmentID { get; set; } public CF_Staff CF_Staff_User { get; set; } [DisplayName("是否可评")] public bool IsEvaluation { get; set; } [DisplayName("是否可评(学生)")] public bool IsStudentEvaluation { 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)); } } } 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 { /// /// 次序 /// public string OrderID { get; set; } /// /// 评价项目 /// public string ProjectName { get; set; } /// /// 权重 /// public string Weight { get; set; } /// /// 评分标准 /// public string NormNames { get; set; } } }