File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ package model ;
2+
3+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
4+ import com .fasterxml .jackson .annotation .JsonInclude ;
5+
6+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7+ @ JsonIgnoreProperties (ignoreUnknown = true )
8+ public class AccessToken {
9+ private String levelName ;
10+ private String userId ;
11+
12+ public AccessToken () {
13+ }
14+
15+ public AccessToken (String userId , String levelName ) {
16+ this .userId = userId ;
17+ this .levelName = levelName ;
18+ }
19+
20+ public String getUserId () {
21+ return userId ;
22+ }
23+
24+ public void setUserId (String userId ) {
25+ this .userId = userId ;
26+ }
27+
28+ public String getLevelName () {
29+ return levelName ;
30+ }
31+
32+ public void setLevelName (String levelName ) {
33+ this .levelName = levelName ;
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments