namespace DS.WMS.Core.System.Dtos;
///
/// 当前用户实体视图
///
public class CurrentUserViewModel
{
///
/// 用户Id
///
public long UserId { get; set; }
///
/// 用户GID
///
public Guid? GID { get; set; }
///
/// 登陆账号
///
public string UserCode { get; set; }
///
///姓名
///
public string UserName { get; set; }
///
/// 公司Id
///
public string CompanyId { get; set; }
///
/// 公司名称
///
public string CompanyName { get; set; } = "";
///
/// 用户类型 0-超管 1-管理员 2-普通用户 3- 租户申请
///
public int UserType { get; set; } = 0;
///
/// 租户Id
///
public long TenantId { get; set; }
///
/// 租户列表Id
///
public TenantViewModel[] TenantList { get; set; }
///
/// Token
///
public string Token { get; set; }
///
/// RefreshToken
///
public string RefreshToken { get; set; }
///
/// 定制首页路径
///
public string HomePath { get; set; }
///
/// ClientId
///
public string ClientId { get; set; }
public bool IsLimitClient { get; set; }
///
/// 机构Id
///
public string OrgId { get; set; }
///
/// 用户组织机构列表
///
public List UserOrgs{ get; set; }
}
///
/// 租户实体
///
public class TenantViewModel
{
///
/// 租户Id
///
public string TenantId { get; set; }
///
/// 租户名称
///
public string TenantName { get; set; }
}