using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DocumentServiceAPI.Model
{
///
/// Jwt信息
///
public class JwtInfo
{
///
/// 员工ITCODE
///
public int? EID { get; set; }
///
/// 租户ID
///
public int ?TID { get; set; }
///
/// 公司ID
///
public int? UID { get; set; }
///
/// Id识别号,主要用于判断单端登录
///
public Guid? JID { get; set; }
///
/// 登录源
///
public LogInFrom LogInSource { get; set; }
}
///
/// 登录源 类型
///
public enum LogInFrom
{
///
/// PCAPP登录
///
[Description( "PCAPP登录")]
PC,
///
/// APP端登录
///
[Description("APP端登录")]
APP,
///
/// 微信小程序登录
///
[Description("微信小程序登录")]
WeChat,
///
/// 页面端登录
///
[Description("页面端登录")]
Web
}
}