using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace EMISOnline.ViewModel.Coursework { public class CourseworkAddView { public CourseworkAddView() { PaperData = new Dictionary(); } public decimal id { get; set; } public Nullable test_paper_id { get; set; } /// /// 试卷名称 /// [Required] [DisplayName("试卷名称")] public string test_paper_name { get; set; } public string status { get; set; } public string CoursematerialName { get; set; } /// /// 所属课程 /// [Required] [DisplayName("所属课程")] public Guid EducationMissionClassID { get; set; } /// /// 作业名称 /// [Required] [DisplayName("作业名称")] public string WorkName { get; set; } [DisplayName("有效时间")] public string examtip { get; set; } /// /// test_begin_date /// public Nullable test_begin_date { get; set; } /// /// test_end_date /// public Nullable test_end_date { get; set; } /// /// ModityContent /// [DisplayName("作业说明")] public string ModityContent { get; set; } public Dictionary PaperData { get; set; } } }