Table of Contents

Class Role

Namespace
H.Modules.Identity
Assembly
H.Modules.Identity.dll
public class Role : SelectBindable<hi_dd_role>, INotifyPropertyChanged, IModelBindable<hi_dd_role>, IModelBindable, ISearchable, ISelectable, IRole
Inheritance
Role
Implements
Derived
Inherited Members
Extension Methods

Constructors

Role()

public Role()

Role(hi_dd_role)

public Role(hi_dd_role model)

Parameters

model hi_dd_role

Properties

ID

[Browsable(false)]
public string ID { get; }

Property Value

string

Name

[Required]
[Display(Name = "角色名称")]
public string Name { get; set; }

Property Value

string

Methods

IsValid(string)

public virtual bool IsValid(string authorId)

Parameters

authorId string

Returns

bool