liaoxujun@qq.com
2024-02-28 9f8e542b9b74fe18a6a4e0a00fef4b50e3e62581
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2022/12/28 22:34:42
 *        Description: 暂无
 ***********************************************************************/
 
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
 
namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 微信用户交互授权
    /// </summary>
    public partial class WeChatUserAccessToken
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public WeChatUserAccessToken()
        {
        }
        
        /// <summary>
        /// 序列
        /// </summary>
        [Display(Name = "序列")]
        
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
        
        /// <summary>
        /// 网页授权接口调用凭证
        /// </summary>
        [Display(Name = "网页授权接口调用凭证")]
        
        [Required(ErrorMessage = "请输入{0}")]
        [StringLength(maximumLength:120,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String access_token  { get; set; }
        
        
        /// <summary>
        /// 超时时间秒
        /// </summary>
        [Display(Name = "超时时间秒")]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 expires_in  { get; set; }
        
        
        /// <summary>
        /// 用户刷新access_token
        /// </summary>
        [Display(Name = "用户刷新access_token")]
        
        
        [StringLength(maximumLength:120,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String refresh_token  { get; set; }
        
        
        /// <summary>
        /// 需刷新时间
        /// </summary>
        [Display(Name = "需刷新时间")]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.DateTime refresh_DateTime  { get; set; }
        
        
        /// <summary>
        /// 用户唯一标识
        /// </summary>
        [Display(Name = "用户唯一标识")]
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String openid  { get; set; }
        
        
        /// <summary>
        /// 用户授权的作用域
        /// </summary>
        [Display(Name = "用户授权的作用域")]
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String scope  { get; set; }
        
        
        /// <summary>
        /// 是否为快照页模式虚拟账号
        /// </summary>
        [Display(Name = "是否为快照页模式虚拟账号")]
        
        
        
        
        
        public System.Int32? is_snapshotuser  { get; set; }
        
        
        /// <summary>
        /// 用户统一标识
        /// </summary>
        [Display(Name = "用户统一标识")]
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        
        public System.String unionid  { get; set; }
        
        
    }
}