Class Role
public class Role : SelectViewModel<hi_dd_role>, INotifyPropertyChanged, IModelViewModel<hi_dd_role>, IModelViewModel, ISearchable, ISelectViewModel, 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
Name
[Required]
[Display(Name = "角色名称")]
public string Name { get; set; }
Property Value
Methods
IsValid(string)
public virtual bool IsValid(string authorId)
Parameters
authorId
string