namespace Yw.Dto { /// /// 用户登录用户Output /// public class UserLoginUserOutput { /// /// /// public UserLoginUserOutput() { } /// /// /// public UserLoginUserOutput(Model.User rhs, Model.UserLoginAccount loginAccount, Model.UserLoginType loginType, Model.Corpration corpration) { this.ID = rhs.ID; this.Name = rhs.Name; this.AdminType = rhs.AdminType; this.Tag = rhs.Tag; this.Description = rhs.Description; this.LoginAccount = new UserLoginAccountOutput(loginAccount, loginType); if (corpration != null) { this.Corpration = new UserLoginCorprationOutput(corpration); } } /// /// id /// public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 管理类型 /// public Model.eAdminType AdminType { get; set; } /// /// 标签 /// public string Tag { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 登录账号 /// public UserLoginAccountOutput LoginAccount { get; set; } /// /// 登录客户 /// public UserLoginCorprationOutput Corpration { get; set; } } }