using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace EMIS.ViewModel.MinorGraduation.MinorGraduationSetting { public class MinorGraduationConditionView { /// /// 辅修毕业条件ID /// [DisplayName("辅修毕业条件ID")] public Guid MinorGraduationConditionID { get; set; } /// /// 条件名称 /// [Required] [DisplayName("条件名称")] public string Title { get; set; } /// /// 计算方法 /// [DisplayName("计算方法")] public string MethodFullName { get; set; } /// /// 启用状态 /// [DisplayName("启用状态")] public bool IsEnable { get; set; } /// /// 启用状态 /// [DisplayName("启用状态")] public string IsEnableName { get { return IsEnable ? "是" : "否"; } } /// /// 启用状态 /// [DisplayName("启用状态")] public int? RecordStatus { get; set; } /// /// 创建人 /// [DisplayName("创建人")] public Guid? CreateUserID { get; set; } /// /// 创建时间 /// [DisplayName("创建时间")] public DateTime? CreateTime { get; set; } /// /// 修改人 /// [DisplayName("修改人")] public Guid? ModifyUserID { get; set; } /// /// 修改时间 /// [DisplayName("修改时间")] public DateTime? ModifyTime { get; set; } } }