Class User
public class User : SelectViewModel<hi_dd_user>, INotifyPropertyChanged, IModelViewModel<hi_dd_user>, IModelViewModel, ISearchable, ISelectViewModel, IUser- Inheritance
- 
      
      
      
      
      
      User
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
User()
public User()User(hi_dd_user)
public User(hi_dd_user model)Parameters
- modelhi_dd_user
Properties
Account
[Required]
[Display(Name = "登录名称")]
public string Account { get; set; }Property Value
ID
[Browsable(false)]
public string ID { get; }Property Value
Name
[Required]
[Display(Name = "用户名称")]
public string Name { get; set; }Property Value
Password
[Required]
[Display(Name = "登录密码")]
public string Password { get; set; }Property Value
Role
[Required]
[Display(Name = "用户角色")]
[PropertyItemType(Type = typeof(RoleComboBoxPropertyItem))]
public Role Role { get; set; }Property Value
Methods
IsValid(string)
public virtual bool IsValid(string authorId)Parameters
- authorIdstring