using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using EMIS.ViewModel.CacheManage;
namespace EMIS.ViewModel.EvaluationManage.StudentEvaluation
{
public class EvaluationStudentDetailView
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid EvaluationStudentDetailID { get; set; }
///
/// 评价学生设定评分ID
///
[Required]
[DisplayName("评价学生设定评分ID")]
public Guid? EvaluationStudentID { get; set; }
///
/// 学生信息ID
///
[Required]
[DisplayName("学生信息ID")]
public Guid? UserID { get; set; }
///
/// 学号
///
[DisplayName("学号")]
public string StudentNo { get; set; }
///
/// 姓名
///
[DisplayName("姓名")]
public string Name { get; set; }
///
/// 性别
///
[DisplayName("性别")]
public int? SexID { get; set; }
///
/// 性别
///
[DisplayName("性别")]
public string SexName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Sex.ToString()).Where(x => x.Value == SexID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 出生日期
///
[DisplayName("出生日期")]
public DateTime? BirthDate { get; set; }
///
/// 民族
///
[DisplayName("民族")]
public int? NationID { get; set; }
///
/// 民族
///
[DisplayName("民族")]
public string NationName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Nation.ToString()).Where(x => x.Value == NationID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 政治面貌
///
[DisplayName("政治面貌")]
public int? PoliticsID { get; set; }
///
/// 政治面貌
///
[DisplayName("政治面貌")]
public string PoliticsName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Politics.ToString()).Where(x => x.Value == PoliticsID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 在校状态
///
[DisplayName("在校状态")]
public int? InSchoolStatusID { get; set; }
///
/// 在校状态
///
[DisplayName("在校状态")]
public string InSchoolStatusName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_InschoolStatus.ToString()).Where(x => x.Value == InSchoolStatusID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 学籍状态
///
[DisplayName("学籍状态")]
public int? StudentStatus { get; set; }
///
/// 学籍状态
///
[DisplayName("学籍状态")]
public string StudentStatusName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_StudentStatus.ToString()).Where(x => x.Value == StudentStatus).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 专业ID(Value)
///
[DisplayName("专业ID(Value)")]
public int? StandardID { get; set; }
///
/// 专业代码
///
[DisplayName("专业代码")]
public string StandardCode
{
get
{
var inistStandardCode = IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Code).FirstOrDefault();
return (inistStandardCode != null ? inistStandardCode.PadLeft(6, '0') : "");
}
}
///
/// 专业名称
///
[DisplayName("专业名称")]
public string StandardName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString()).Where(x => x.Value == StandardID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 培养层次
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationID")]
public int? EducationID { get; set; }
///
/// 培养层次
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "EducationName")]
public string EducationName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Education.ToString()).Where(x => x.Value == EducationID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 学习形式
///
[DisplayName("学习形式")]
public int? LearningformID { get; set; }
///
/// 学习形式
///
[DisplayName("学习形式")]
public string LearningformName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Learningform.ToString()).Where(x => x.Value == LearningformID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 学制
///
[DisplayName("学制")]
public decimal? LearnSystem { get; set; }
///
/// 班级信息ID
///
[DisplayName("班级信息ID")]
public Guid? ClassmajorID { get; set; }
///
/// 班级编号
///
[DisplayName("班级编号")]
public string ClassmajorNo { get; set; }
///
/// 班级名称
///
[DisplayName("班级名称")]
public string ClassmajorName { get; set; }
///
/// 班序
///
[DisplayName("班序")]
public int? ClassNum { get; set; }
///
/// 年级
///
[DisplayName("年级")]
public int? GradeID { get; set; }
///
/// 年级
///
[DisplayName("年级")]
public string GradeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Grade.ToString()).Where(x => x.Value == GradeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 年级专业ID
///
[DisplayName("年级专业ID")]
public Guid? GrademajorID { get; set; }
///
/// 年级专业编号
///
[DisplayName("年级专业编号")]
public string GrademajorCode { get; set; }
///
/// 年级专业名称
///
[DisplayName("年级专业名称")]
public string GrademajorName { get; set; }
///
/// 院系专业ID
///
[DisplayName("院系专业ID")]
public Guid? FacultymajorID { get; set; }
///
/// 院系专业编号
///
[DisplayName("院系专业编号")]
public string FacultymajorCode { get; set; }
///
/// 院系专业名称
///
[DisplayName("院系专业名称")]
public string FacultymajorName { 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 = "CollegeCode")]
public string CollegeNo { get; set; }
///
/// 院系所名称
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "College")]
public string CollegeName { get; set; }
///
/// 校区ID
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "Campus")]
public Guid? CampusID { get; set; }
///
/// 校区代码
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusCode")]
public string CampusNo { get; set; }
///
/// 校区名称
///
[Display(ResourceType = typeof(EMIS.Resources.DataAnnotations.Label), Name = "CampusName")]
public string CampusName { get; set; }
///
/// 评价学生设定ID
///
[Required]
[DisplayName("评价学生设定ID")]
public Guid? EvaluationStudentSettingID { get; set; }
///
/// 教学任务班ID
///
[Required]
[DisplayName("教学任务班ID")]
public Guid? EducationMissionClassID { get; set; }
///
/// 教学任务ID
///
[Required]
[DisplayName("教学任务ID")]
public Guid? EducationMissionID { get; set; }
///
/// 学年学期ID
///
[Required]
[DisplayName("学年学期ID")]
public Guid? SchoolyearID { get; set; }
///
/// 学年学期对应的Value值
///
[DisplayName("SchoolyearValue")]
public int? SchoolyearValue { get; set; }
///
/// 学年学期
///
[DisplayName("学年学期")]
public string SchoolyearCode { get; set; }
///
/// 任务名称
///
[Required]
[DisplayName("任务名称")]
public string MissionName { get; set; }
///
/// 任务班名称
///
[Required]
[DisplayName("任务班名称")]
public string MissionClassName { get; set; }
///
/// 课程信息ID
///
[Required]
[DisplayName("课程信息ID")]
public Guid? CoursematerialID { get; set; }
///
/// 课程代码
///
[DisplayName("课程代码")]
public string CourseCode { get; set; }
///
/// 课程名称
///
[DisplayName("课程名称")]
public string CourseName { get; set; }
///
/// 课程结构
///
[DisplayName("课程结构")]
public int? CourseStructureID { get; set; }
///
/// 课程结构
///
[DisplayName("课程结构")]
public string CourseStructureName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseStructure.ToString()).Where(x => x.Value == CourseStructureID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 课程属性
///
[DisplayName("课程属性")]
public int? CourseCategoryID { get; set; }
///
/// 课程属性
///
[DisplayName("课程属性")]
public string CourseCategoryName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseCategory.ToString()).Where(x => x.Value == CourseCategoryID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 课程类型
///
[DisplayName("课程类型")]
public int? CourseTypeID { get; set; }
///
/// 课程类型
///
[DisplayName("课程类型")]
public string CourseTypeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseType.ToString()).Where(x => x.Value == CourseTypeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 课程性质
///
[DisplayName("课程性质")]
public int? CourseQualityID { get; set; }
///
/// 课程性质
///
[DisplayName("课程性质")]
public string CourseQualityName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_CourseQuality.ToString()).Where(x => x.Value == CourseQualityID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 课程学分
///
[DisplayName("课程学分")]
public decimal? Credit { get; set; }
///
/// 开课教研室ID
///
[Required]
[DisplayName("开课教研室")]
public Guid? DepartmentID { get; set; }
///
/// 开课教研室代码
///
[DisplayName("开课教研室代码")]
public string DepartmentNo { get; set; }
///
/// 开课教研室
///
[DisplayName("开课教研室")]
public string DepartmentName { get; set; }
///
/// 处理方式
///
[DisplayName("处理方式")]
public int? HandleModeID { get; set; }
///
/// 处理方式
///
[DisplayName("处理方式")]
public string HandleModeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_HandleMode.ToString()).Where(x => x.Value == HandleModeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 授课方式
///
[DisplayName("授课方式")]
public int? TeachingModeID { get; set; }
///
/// 授课方式
///
[DisplayName("授课方式")]
public string TeachingModeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_TeachingMode.ToString()).Where(x => x.Value == TeachingModeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 任务状态
///
[DisplayName("任务状态")]
public int? MissionClassStatus { get; set; }
///
/// 任务状态
///
public string MissionClassStatusName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.EM_EducationMissionClassStatus.ToString()).Where(x => x.Value == MissionClassStatus).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 任课教师ID
///
[Required]
[DisplayName("任课教师ID")]
public Guid? StaffUserID { get; set; }
///
/// 教师工号
///
[DisplayName("教师工号")]
public string StaffCode { get; set; }
///
/// 任课教师
///
[DisplayName("任课教师")]
public string StaffName { get; set; }
///
/// 职称
///
[DisplayName("职称")]
public int? TitleID { get; set; }
///
/// 职称
///
[DisplayName("职称")]
public string TitleName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Title.ToString()).Where(x => x.Value == TitleID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 任课方式
///
[Required]
[DisplayName("任课方式")]
public int? TeachingMethodID { get; set; }
///
/// 任课方式
///
[DisplayName("任课方式")]
public string TeachingMethodName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.EM_TeachingMethod.ToString()).Where(x => x.Value == TeachingMethodID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 评价项目ID
///
[Required]
[DisplayName("评价项目ID")]
public Guid? EvaluationProjectID { get; set; }
///
/// 项目次序
///
[DisplayName("项目次序")]
public int? EvaluationProjectOrderNo { get; set; }
///
/// 项目编号
///
[DisplayName("项目编号")]
public string EvaluationProjectCode { get; set; }
///
/// 项目名称
///
[DisplayName("项目名称")]
public string EvaluationProjectName { get; set; }
///
/// 评价指标ID
///
[Required]
[DisplayName("评价指标ID")]
public Guid? EvaluationTargetID { get; set; }
///
/// 指标次序
///
[DisplayName("指标次序")]
public int? EvaluationTargetOrderNo { get; set; }
///
/// 指标编号
///
[DisplayName("指标编号")]
public string EvaluationTargetCode { get; set; }
///
/// 指标名称
///
[DisplayName("指标名称")]
public string EvaluationTargetName { get; set; }
///
/// 评价表ID
///
[Required]
[DisplayName("评价表ID")]
public Guid? EvaluationTableID { get; set; }
///
/// 评价表编号
///
[DisplayName("评价表编号")]
public string EvaluationTableCode { get; set; }
///
/// 评价表名
///
[DisplayName("评价表名")]
public string EvaluationTableName { get; set; }
///
/// 参评类型ID
///
[DisplayName("参评类型ID")]
public Guid? EvaluationParticipateTypeID { get; set; }
///
/// 参评类型
///
[DisplayName("参评类型")]
public int? ParticipateTypeID { get; set; }
///
/// 参评类型
///
[DisplayName("参评类型")]
public string ParticipateTypeName
{
get
{
return IdNameExt.GetDictionaryItem(DictionaryItem.EM_ParticipateType.ToString()).Where(x => x.Value == ParticipateTypeID).Select(x => x.Name).FirstOrDefault();
}
}
///
/// 评价类型ID
///
[DisplayName("评价类型ID")]
public Guid? EvaluationTypeID { get; set; }
///
/// 评价类型编号
///
[DisplayName("评价类型编号")]
public string EvaluationTypeCode { get; set; }
///
/// 评价类型
///
[DisplayName("评价类型")]
public string EvaluationTypeName { get; set; }
///
/// 评分
///
[Required]
[DisplayName("评分")]
[RegularExpression(@"^\d+(\.\d{1,2})?$", ErrorMessage = "请输入分数或保留2位以下小数点分数")]
public decimal? Score { get; set; }
///
/// 备注
///
[DisplayName("备注")]
public string Remark { get; set; }
///
/// 状态
///
[DisplayName("状态")]
public int? RecordStatus { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 修改人
///
[DisplayName("修改人")]
public Guid? ModifyUserID { get; set; }
///
/// 修改时间
///
[DisplayName("修改时间")]
public DateTime? ModifyTime { get; set; }
}
}