using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
namespace EMIS.ViewModel.SelectCourse
{
public class FreeSelectionCoursePlanView
{
///
/// 主键ID
///
[DisplayName("主键ID")]
public Guid FreeSelectionCousePlanID { get; set; }
///
/// 任选课程ID
///
[Required]
public Guid? FreeSelectionCouseID { get; set; }
///
/// 选课编号
///
public string FreeSelectionCouseNo { get; set; }
///
/// 课程代码
///
[DisplayName("课程代码")]
public string CourseCode { get; set; }
///
/// 课程名称
///
[DisplayName("课程名称")]
public string CourseName { get; set; }
///
/// 课程结构
///
[Required]
[DisplayName("课程结构")]
public int? CourseStructureID { get; set; }
///
/// 课程结构
///
[DisplayName("课程结构")]
public string CourseStructureName { get; set; }
///
/// 课程类别
///
[Required]
[DisplayName("课程属性")]
public int? CourseCategoryID { get; set; }
///
/// 课程类别
///
[DisplayName("课程属性")]
public string CourseCategoryName { get; set; }
///
/// 课程类型
///
[Required]
[DisplayName("课程类型")]
public int? CourseTypeID { get; set; }
///
/// 课程类型名称
///
[DisplayName("课程类型名称")]
public string CourseTypeName { get; set; }
///
/// 课程性质
///
[Required]
[DisplayName("课程性质")]
public int? CourseQualityID { get; set; }
///
/// 课程性质
///
[DisplayName("课程性质名称")]
public string CourseQualityName { get; set; }
///
/// 授课方式
///
[Required]
[DisplayName("授课方式")]
public int? TeachingModeID { get; set; }
///
/// 授课方式名称
///
[DisplayName("授课方式名称")]
public string TeachingModeName { get; set; }
///
/// 考试方式
///
[Required]
[DisplayName("考试方式")]
public int? ExaminationModeID { get; set; }
///
/// 考试方式名称
///
[DisplayName("考试方式名称")]
public string ExaminationModeName { get; set; }
///
/// 授课语言
///
[Required]
[DisplayName("授课语言")]
public int? TeachinglanguageID { get; set; }
///
/// 授课语言名称
///
[DisplayName("授课语言名称")]
public string TeachinglanguageName { get; set; }
///
/// 学年数
///
[Required]
[DisplayName("学年数")]
public int? SchoolyearNumID { get; set; }
///
/// 学年数名称
///
[DisplayName("学年数名称")]
public string SchoolyearNumName { get; set; }
///
/// 学期
///
[Required]
[DisplayName("学期")]
public int? SchoolcodeID { get; set; }
///
/// 学期名称
///
[DisplayName("学期名称")]
public string SchoolcodeName { get; set; }
///
/// 开课学期
///
[Required]
[DisplayName("开课学期")]
public int? StarttermID { get; set; }
///
/// 开课学期名称
///
[DisplayName("开课学期名称")]
public string StarttermName { get; set; }
///
/// 是否启用
///
[Required]
[DisplayName("是否启用")]
public bool IsEnable { get; set; }
///
/// 是否启用名称
///
[DisplayName("是否启用")]
public string IsEnableDesc { get; set; }
///
/// 学分
///
[DisplayName("学分")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? Credit { get; set; }
///
/// 总学时
///
[DisplayName("总学时")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? Totalhours { get; set; }
///
/// 理论学时
///
[DisplayName("理论学时")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? TheoryCourse { get; set; }
///
/// 实践学时
///
[DisplayName("实践学时")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? Practicehours { get; set; }
///
/// 实验学时
///
[DisplayName("实验学时")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? Trialhours { get; set; }
///
/// 上课周数
///
[DisplayName("上课周数")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? SchoolweeksNum { get; set; }
///
/// 每周次数
///
[DisplayName("每周次数")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? WeeklyNum { get; set; }
///
/// 理论周次
///
[DisplayName("理论周次")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? TheoryWeeklyNum { get; set; }
///
/// 实践周次
///
[DisplayName("实践周次")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? PracticeWeeklyNum { get; set; }
///
/// 实验周次
///
[DisplayName("实验周次")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? TrialWeeklyNum { get; set; }
///
/// 开始周次
///
[DisplayName("开始周次")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? StartWeeklyNum { get; set; }
///
/// 结束周次
///
[DisplayName("结束周次")]
[RegularExpression(@"^[0-9]+([.]{1}[0-9]+){0,1}$", ErrorMessage = "请输入数字")]
public decimal? EndWeeklyNum { get; set; }
///
/// 是否需要教材
///
[DisplayName("是否需要教材")]
public bool IsNeedMaterial { get; set; }
///
/// 是否需要教材
///
[DisplayName("是否需要教材")]
public string IsNeedMaterialName { get; set; }
///
/// 创建人
///
[DisplayName("创建人")]
public Guid? CreateUserID { get; set; }
///
/// 创建时间
///
[DisplayName("创建时间")]
public DateTime? CreateTime { get; set; }
///
/// 备注
///
[DisplayName("备注")]
public string Remarks { get; set; }
}
}