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.

85 lines
1.6 KiB
C#

12 months ago
namespace DS.WMS.Core.System.Dtos;
/// <summary>
/// 当前用户实体视图
/// </summary>
public class CurrentUserViewModel
{
/// <summary>
/// 用户Id
/// </summary>
11 months ago
public long UserId { get; set; }
12 months ago
/// <summary>
/// 用户GID
/// </summary>
public Guid? GID { get; set; }
/// <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>
11 months ago
public long TenantId { get; set; }
12 months ago
/// <summary>
/// 租户列表Id
/// </summary>
public TenantViewModel[] TenantList { get; set; }
/// <summary>
/// Token
/// </summary>
public string Token { get; set; }
/// <summary>
/// 定制首页路径
/// </summary>
public string HomePath { get; set; }
/// <summary>
/// ClientId
/// </summary>
public string ClientId { get; set; }
public bool IsLimitClient { get; set; }
}
/// <summary>
/// 租户实体
/// </summary>
public class TenantViewModel
{
/// <summary>
/// 租户Id
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
}