qwj
2023-08-16 f9d7dda81bbf85f32f07c2f301b00ebc2b952983
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
{
    /// <summary>
    /// Jwt信息
    /// </summary>
    public class JwtInfo
    {
        /// <summary>
        /// 员工ID
        /// </summary>
        public int?   EID { get; set; }
 
        /// <summary>
        /// 租户ID
        /// </summary>
        public int? TEID { get; set; }
 
 
        /// <summary>
        /// 公司ID
        /// </summary>
        public int? UID { get; set; }
 
        /// <summary>
        /// Id识别号,主要用于判断单端登录
        /// </summary>
        public  Guid? JID { get; set; }
 
        /// <summary>
        /// 登录源
        /// </summary>
        public LogInFrom LogInSource { get; set; }
    }
 
    /// <summary>
    /// 登录源 类型
    /// </summary>
    public enum LogInFrom
    {
        /// <summary>
        /// PCAPP登录
        /// </summary>
        [Description( "PCAPP登录")]
        PC,
        /// <summary>
        /// APP端登录
        /// </summary>
        [Description("APP端登录")]
        APP,
        /// <summary>
        /// 微信小程序登录
        /// </summary>
        [Description("微信小程序登录")]
        WeChat,
        /// <summary>
        /// 页面端登录
        /// </summary>
          [Description("页面端登录")]
        Web
 
    }
}