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.EducationManage.EducationArrange
{
public class EducationMissionClassView
{
///
/// 主键ID
///
[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; }
///
/// 任务名称
///
[DisplayName("任务名称")]
public string MissionName { get; set; }
///
/// 任务班名称
///
[DisplayName("任务班名称")]
public string MissionClassName { 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
///
[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
///
[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();
}
}
///
/// 任课教师ID
///
[DisplayName("任课教师ID")]
public Guid? UserID { 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();
}
}
///
/// 任课方式
///
[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();
}
}
///
/// 任务状态
///
[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();
}
}
///
/// 人数
///
[DisplayName("人数")]
public int? StudentCount { 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; }
}
}