123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- using EMIS.ViewModel.CacheManage;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.DegreeManage.DegreeSetting
- {
- public class DegreeConditionPackageView
- {
- /// <summary>
- /// 学位公式ID
- /// </summary>
- [DisplayName("学位公式ID")]
- public Guid DegreeConditionPackageID { get; set; }
- /// <summary>
- /// 公式名称
- /// </summary>
- [Required]
- [DisplayName("公式名称")]
- public string Title { get; set; }
- /// <summary>
- /// 学生类别
- /// </summary>
- [Required]
- [DisplayName("学生类别")]
- public int? StudentTypeID { get; set; }
- /// <summary>
- /// 学生类别
- /// </summary>
- [DisplayName("学生类别")]
- public string StudentTypeName
- {
- get
- {
- return IdNameExt.GetDictionaryItem(DictionaryItem.CF_STUDENTTYPE.ToString())
- .Where(x => x.Value == StudentTypeID)
- .Select(x => x.Name).FirstOrDefault();
- }
- }
- /// <summary>
- /// 是否默认
- /// </summary>
- [DisplayName("是否默认")]
- public bool IsDefault { get; set; }
- /// <summary>
- /// 是否默认
- /// </summary>
- [DisplayName("是否默认公式")]
- public string IsDefaultName
- {
- get
- {
- return IsDefault ? "是" : "否";
- }
- }
- /// <summary>
- /// 启用状态
- /// </summary>
- [DisplayName("启用状态")]
- public bool IsEnable { get; set; }
- /// <summary>
- /// 启用状态
- /// </summary>
- [DisplayName("启用状态")]
- public string IsEnableName
- {
- get
- {
- return IsEnable ? "启用" : "禁用";
- }
- }
- /// <summary>
- /// 学位条件
- /// </summary>
- [DisplayName("学位条件")]
- public string DegreeCondition { get; set; }
- /// <summary>
- /// 状态
- /// </summary>
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [DisplayName("创建人")]
- public Guid? CreateUserID { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [DisplayName("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 修改人
- /// </summary>
- [DisplayName("")]
- public Guid? ModifyUserID { get; set; }
- /// <summary>
- /// 修改时间
- /// </summary>
- [DisplayName("修改时间")]
- public DateTime? ModifyTime { get; set; }
- }
- }
|