1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- namespace EMIS.ViewModel.SystemSetting
- {
- public class DictionaryView
- {
-
-
-
- [Required]
- [DisplayName("序号")]
- [RegularExpression(@"^[0-9]*[1-9][0-9]*$", ErrorMessage = "请输入正整数")]
- public int? OrderNo { get; set; }
-
-
-
- [Required]
- [DisplayName("类型代码")]
- public string DictionaryCode { get; set; }
-
-
-
- [Required]
- [DisplayName("类型名称")]
- public string DictionaryName { get; set; }
-
-
-
- [DisplayName("可否编辑")]
- public bool IsEditable { get; set; }
-
-
-
- [DisplayName("可否编辑")]
- public string IsEditableName
- {
- get
- {
- return IsEditable == true ? "是" : "否";
- }
- }
-
-
-
- [DisplayName("状态")]
- public int? RecordStatus { get; set; }
- }
- }
|