1234567891011121314151617 |
- using System.ComponentModel.DataAnnotations;
- namespace CZFW.Framework.Model.ViewModel
- {
- public class RoleModel:ModelBase
- {
- [Display(Name = "名称")]
- [Required(ErrorMessage = "请填写角色名称")]
- [MaxLength(128)]
- public string Name { get; set; }
- [MaxLength(1024)]
- [Display(Name = "描述")]
- public string Description { get; set; }
- }
- }
|