using CZFW.Core; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CZFW.Framework.Model.Entity { /// /// 角色表 /// [Table("cz_role")] public class RoleEntity:EntityBase { [Display(Name = "名称")] [Required(ErrorMessage = "请填写角色名称")] [MaxLength(128)] public string Name { get; set; } [MaxLength(1024)] [Display(Name = "描述")] public string Description { get; set; } } }