You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.5 KiB
C#

2 years ago
namespace DS.WMS.Core.System.Dtos;
/// <summary>
/// 当前用户实体视图
/// </summary>
public class CurrentUserViewModel
{
/// <summary>
/// 用户Id
/// </summary>
public string UserId { get; set; }
/// <summary>
/// 用户GID
/// </summary>
public Guid? GID { get; set; }
2 years ago
/// <summary>
/// 登陆账号
/// </summary>
public string UserCode { get; set; }
/// <summary>
///姓名
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 公司Id
/// </summary>
public string CompanyId { get; set; }
/// <summary>
/// 公司名称
/// </summary>
public string CompanyName { get; set; } = "";
/// <summary>
/// 用户类型 0-普通用户 1-管理员
/// </summary>
public int UserType { get; set; }= 0;
/// <summary>
/// 租户Id
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户列表Id
/// </summary>
public TenantViewModel[] TenantList { get; set; }
/// <summary>
/// Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// 定制首页路径
/// </summary>
public string HomePath { get; set; }
}
/// <summary>
/// 租户实体
/// </summary>
public class TenantViewModel
{
/// <summary>
/// 租户Id
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
}