commit | author | age
|
9bcb19
|
1 |
/* |
I |
2 |
Copyright [2020] [https://www.xiaonuo.vip] |
|
3 |
|
|
4 |
Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
you may not use this file except in compliance with the License. |
|
6 |
You may obtain a copy of the License at |
|
7 |
|
|
8 |
http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
|
|
10 |
Unless required by applicable law or agreed to in writing, software |
|
11 |
distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
See the License for the specific language governing permissions and |
|
14 |
limitations under the License. |
|
15 |
|
|
16 |
Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点: |
|
17 |
|
|
18 |
1.请不要删除和修改根目录下的LICENSE文件。 |
|
19 |
2.请不要删除和修改Snowy源码头部的版权声明。 |
|
20 |
3.请保留源码和相关描述文件的项目出处,作者声明等。 |
|
21 |
4.分发源码时候,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
22 |
5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy |
|
23 |
6.若您的项目无法满足以上几点,可申请商业授权,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip |
|
24 |
*/ |
|
25 |
package vip.xiaonuo.sys.modular.oauth.entity; |
|
26 |
|
|
27 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
28 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
29 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
30 |
import lombok.Data; |
|
31 |
import lombok.EqualsAndHashCode; |
|
32 |
import vip.xiaonuo.core.pojo.base.entity.BaseEntity; |
|
33 |
|
|
34 |
/** |
|
35 |
* Oauth登录用户表 |
|
36 |
* |
|
37 |
* @author xuyuxiang |
|
38 |
* @date 2020/7/28 17:04 |
|
39 |
**/ |
|
40 |
@EqualsAndHashCode(callSuper = true) |
|
41 |
@Data |
|
42 |
@TableName("sys_oauth_user") |
|
43 |
public class SysOauthUser extends BaseEntity { |
|
44 |
|
|
45 |
/** |
|
46 |
* 主键 |
|
47 |
*/ |
|
48 |
@TableId(type = IdType.ASSIGN_ID) |
|
49 |
private Long id; |
|
50 |
|
|
51 |
/** |
|
52 |
* 第三方平台的用户唯一id |
|
53 |
*/ |
|
54 |
private String uuid; |
|
55 |
|
|
56 |
/** |
|
57 |
* 用户授权的token |
|
58 |
*/ |
|
59 |
private String accessToken; |
|
60 |
|
|
61 |
/** |
|
62 |
* 昵称 |
|
63 |
*/ |
|
64 |
private String nickName; |
|
65 |
|
|
66 |
/** |
|
67 |
* 头像 |
|
68 |
*/ |
|
69 |
private String avatar; |
|
70 |
|
|
71 |
/** |
|
72 |
* 用户网址 |
|
73 |
*/ |
|
74 |
private String blog; |
|
75 |
|
|
76 |
/** |
|
77 |
* 所在公司 |
|
78 |
*/ |
|
79 |
private String company; |
|
80 |
|
|
81 |
/** |
|
82 |
* 位置 |
|
83 |
*/ |
|
84 |
private String location; |
|
85 |
|
|
86 |
/** |
|
87 |
* 邮箱 |
|
88 |
*/ |
|
89 |
private String email; |
|
90 |
|
|
91 |
/** |
|
92 |
* 性别 |
|
93 |
*/ |
|
94 |
private String gender; |
|
95 |
|
|
96 |
/** |
|
97 |
* 用户来源 |
|
98 |
*/ |
|
99 |
private String source; |
|
100 |
|
|
101 |
/** |
|
102 |
* 用户备注(各平台中的用户个人介绍) |
|
103 |
*/ |
|
104 |
private String remark; |
|
105 |
} |