namespace Yw.Dto
|
{
|
/// <summary>
|
/// 用户登录用户Output
|
/// </summary>
|
public class UserLoginUserOutput
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public UserLoginUserOutput() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
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);
|
}
|
}
|
|
/// <summary>
|
/// id
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 管理类型
|
/// </summary>
|
public Model.eAdminType AdminType { get; set; }
|
|
/// <summary>
|
/// 标签
|
/// </summary>
|
public string Tag { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
/// 登录账号
|
/// </summary>
|
public UserLoginAccountOutput LoginAccount { get; set; }
|
|
/// <summary>
|
/// 登录客户
|
/// </summary>
|
public UserLoginCorprationOutput Corpration { get; set; }
|
|
}
|
}
|