using System.ComponentModel.DataAnnotations; namespace HStation.WinFrmUI { public class UserAccountViewModel { public UserAccountViewModel() { } public UserAccountViewModel(Yw.Vmo.UserLoginAccountVmo rhs) { this.ID = rhs.ID; //this.LoginType = rhs.LoginTypeID this.Identifier = rhs.Identifier; this.IfVerified = rhs.IfVerified; } /// /// UserID /// public long ID { get; set; } /// /// 登录类型 /// [Display(Name = "登录类型")] public string LoginType { get; set; } /// /// 登录账户 /// [Display(Name = "登录账户")] public string Identifier { get; set; } /// /// 是否验证 /// [Display(Name = "是否验证")] public bool IfVerified { get; set; } } }