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.
99 lines
2.0 KiB
C#
99 lines
2.0 KiB
C#
namespace DS.WMS.Core.System.Dtos;
|
|
|
|
/// <summary>
|
|
/// 当前用户实体视图
|
|
/// </summary>
|
|
public class CurrentUserViewModel
|
|
{
|
|
/// <summary>
|
|
/// 用户Id
|
|
/// </summary>
|
|
public long UserId { get; set; }
|
|
|
|
/// <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-管理员 2-普通用户 3- 租户申请
|
|
/// </summary>
|
|
public int UserType { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// 租户Id
|
|
/// </summary>
|
|
public long TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 租户列表Id
|
|
/// </summary>
|
|
public TenantViewModel[] TenantList { get; set; }
|
|
|
|
/// <summary>
|
|
/// Token
|
|
/// </summary>
|
|
public string Token { get; set; }
|
|
|
|
/// <summary>
|
|
/// RefreshToken
|
|
/// </summary>
|
|
public string RefreshToken { get; set; }
|
|
/// <summary>
|
|
/// 定制首页路径
|
|
/// </summary>
|
|
public string HomePath { get; set; }
|
|
|
|
/// <summary>
|
|
/// ClientId
|
|
/// </summary>
|
|
public string ClientId { get; set; }
|
|
|
|
public bool IsLimitClient { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 机构Id
|
|
/// </summary>
|
|
public string OrgId { get; set; }
|
|
/// <summary>
|
|
/// 用户组织机构列表
|
|
/// </summary>
|
|
public List<UserOrgListRes> UserOrgs{ get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 租户实体
|
|
/// </summary>
|
|
public class TenantViewModel
|
|
{
|
|
/// <summary>
|
|
/// 租户Id
|
|
/// </summary>
|
|
public string TenantId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 租户名称
|
|
/// </summary>
|
|
public string TenantName { get; set; }
|
|
} |