Table of Contents

Class hi_dd_author

Namespace
H.Modules.Identity
Assembly
H.Modules.Identity.dll
[Display(Name = "权限管理")]
public class hi_dd_author : DbModelBase, IEntityBase<string>, INotifyPropertyChanged, IDataErrorInfo
Inheritance
hi_dd_author
Implements
Inherited Members
Extension Methods

Constructors

hi_dd_author()

public hi_dd_author()

Properties

AuthorCode

[Display(Name = "权限编码")]
[Column("author_code", Order = 2)]
public string AuthorCode { get; set; }

Property Value

string

Name

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

Property Value

string

Roles

[JsonIgnore]
[Display(Name = "角色列表")]
public virtual ICollection<hi_dd_role> Roles { get; set; }

Property Value

ICollection<hi_dd_role>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.