using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using WX.CRM.Common.MvcValidation; namespace WX.CRM.Model.Entity { public partial class BAS_RIGHTGROUP { [DisplayName("权限组名")] [NotMapped] public string map_NAME { get { return this.NAME; } set { this.NAME = value; } } [DisplayName("上级权限组")] [NotMapped] [NoInput("[-1]", ErrorMessage = "不能选中自己或者子集作为父级!")] public decimal map_PARENTID { get { return this.PARENTID; } set { this.PARENTID = value; } } } }