12345678910111213141516171819202122232425262728293031323334 |
- using CZFW.Framework.Attributes;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace CZFW.Framework.Model.Entity
- {
- [Table("cz_privilege_group")]
- public class PrivilegeGroupEntity:EntityBase
- {
- [Display(Name = "名称")]
- [Required]
- [MaxLength(120)]
- public string Name { get; set; }
- [Invisible]
- [MaxLength(1024)]
- [Required]
- public string Mark { get; set; }
- [Invisible]
- [MaxLength(1024)]
- [Required]
- public string ParentMark { get; set; }
- /// <summary>
- /// 权限组介绍
- /// </summary>
- [Display(Name="简介")]
- [DataType(DataType.MultilineText)]
- public string Description { get; set; }
- }
- }
|