Table of Contents

Class hi_dd_role

Namespace
HeBianGu.Systems.Identity
Assembly
HeBianGu.Systems.Identity.dll
public class hi_dd_role : mbc_db_modelbase, IEntityBase<string>, INotifyPropertyChanged, IDataErrorInfo
Inheritance
hi_dd_role
Implements
Inherited Members
Extension Methods

Constructors

hi_dd_role()

public hi_dd_role()

Properties

Authors

[Display(Name = "权限列表")]
public ICollection<hi_dd_author> Authors { get; set; }

Property Value

ICollection<hi_dd_author>

Code

[Display(Name = "角色编码")]
[Column("role_code", Order = 2)]
public string Code { get; set; }

Property Value

string

Name

[Display(Name = "角色名称")]
[Column("role_name", Order = 1)]
[Required]
[RegularExpression("^[\\u4e00-\\u9fa5]{0,}$", ErrorMessage = "只能输入汉字!")]
public string Name { get; set; }

Property Value

string

Users

[Display(Name = "用户列表")]
public ICollection<hi_dd_user> Users { get; set; }

Property Value

ICollection<hi_dd_user>