123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using EMIS.ViewModel.CacheManage;
- namespace EMIS.ViewModel.DQPSystem
- {
- public class SOCView
- {
-
-
-
- [DisplayName("主键ID")]
- public Guid SOCID { get; set; }
- public Guid? EducationMissionID { get; set; }
- public string EducationMissionName { get; set; }
-
-
-
- [DisplayName("学年学期ID")]
- public Guid? SchoolyearID { get; set; }
-
-
-
- [DisplayName("学年学期")]
- public string SchoolyearCode { get; set; }
-
-
-
- [Required]
- [DisplayName("课程资料")]
- public Guid? CoursematerialID { get; set; }
-
-
-
- [DisplayName("课程资料代码")]
- public string CourseCode { get; set; }
-
-
-
- [DisplayName("课程名称")]
- public string CourseName { get; set; }
-
-
-
- [Required]
- [DisplayName("教研室")]
- public Guid? DepartmentID { get; set; }
-
-
-
- [DisplayName("教研室代码")]
- public string DepartmentCode { get; set; }
-
-
-
- [DisplayName("教研室")]
- public string DepartmentName { get; set; }
-
-
-
- [Required]
- [DisplayName("学分")]
-
-
- public decimal? Credit { get; set; }
-
-
-
- [DisplayName("学分")]
- public string CreditStr { get; set; }
-
-
-
- [DisplayName("学生人数")]
- public int? StudentCount { get; set; }
-
-
-
- [DisplayName("SOC设置")]
- public string SOCSetting
- {
- get
- {
- return "查看";
- }
- }
-
-
-
- [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();
- }
- }
-
-
-
- public int? OptionalCourseTypeID { get; set; }
- public string EducationMissionNameStr
- {
- get
- {
- return (EducationMissionName == null || EducationMissionName == "") ? "" : EducationMissionName.Replace(CourseName, "").Replace("-", "");
- }
- }
- }
- }
|