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