123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMIS.ViewModel.CacheManage;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel;
- namespace EMIS.ViewModel.MinorManage.MinorSetting
- {
- public class MinorStandardSettingView
- {
- /// <summary>
- /// 辅修专业可报读设置ID
- /// </summary>
- [Required]
- [DisplayName("辅修专业可报读设置ID")]
- public Guid MinorStandardSettingID { get; set; }
- /// <summary>
- /// 辅修专业ID
- /// </summary>
- [Required]
- [DisplayName("辅修专业ID")]
- public int? MinorStandardID { get; set; }
- /// <summary>
- /// 专业代码
- /// </summary>
- [Required]
- [DisplayName("专业代码")]
- public string MinorStandardCode { get; set; }
- /// <summary>
- /// 辅修专业名称
- /// </summary>
- [Required]
- [DisplayName("辅修专业名称")]
- public string MinorStandardName {
- get {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == MinorStandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 标准专业ID
- /// </summary>
- [Required]
- [DisplayName("标准专业ID")]
- public int? StandardID { get; set; }
- /// <summary>
- /// 专业代码
- /// </summary>
- [Required]
- [DisplayName("专业代码")]
- public string StandardCode { get; set; }
- /// <summary>
- /// 专业名称
- /// </summary>
- [Required]
- [DisplayName("专业名称")]
- public string StandardName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_Standard.ToString())
- .Where(x => x.Value == StandardID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 状态
- /// </summary>
- public int? RecordStatus { get; set; }
- /// <summary>
- /// CreateTime
- /// </summary>
- public Nullable<System.DateTime> CreateTime { get; set; }
- /// <summary>
- /// CreateUserID
- /// </summary>
- public Nullable<System.Guid> CreateUserID { get; set; }
- /// <summary>
- /// ModifyUserID
- /// </summary>
- public Nullable<System.Guid> ModifyUserID { get; set; }
- /// <summary>
- /// ModifyTime
- /// </summary>
- public Nullable<System.DateTime> ModifyTime { get; set; }
- }
- }
|