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.

120 lines
2.4 KiB
C#

using System.ComponentModel;
namespace DS.WMS.Core.Sys.Dtos;
12 months ago
/// <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>
7 months ago
/// 用户类型 0-超管 1-管理员 2-普通用户 3- 租户申请
12 months ago
/// </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; }
11 months ago
/// <summary>
/// RefreshToken
/// </summary>
public string RefreshToken { get; set; }
12 months ago
/// <summary>
/// 定制首页路径
/// </summary>
public string HomePath { get; set; }
/// <summary>
/// ClientId
/// </summary>
public string ClientId { get; set; }
public bool IsUseSystem { get; set; }
11 months ago
/// <summary>
/// 机构Id
/// </summary>
public string OrgId { get; set; }
/// <summary>
/// 用户组织机构列表
/// </summary>
public List<UserOrgListRes> UserOrgs{ get; set; }
/// <summary>
/// 手机
/// </summary>
public string Phone { get; set; }
/// <summary>
/// 电话
/// </summary>
public string Tel { get; set; }
/// <summary>
/// 办公电话
/// </summary>
public string OfficePhone { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get; set; }
12 months ago
}
/// <summary>
/// 租户实体
/// </summary>
public class TenantViewModel
{
/// <summary>
/// 租户Id
/// </summary>
public string TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public string TenantName { get; set; }
}