You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
677 B
47 lines
677 B
package com.zsw.model; |
|
|
|
import com.zsw.enums.UserType; |
|
import lombok.AllArgsConstructor; |
|
import lombok.Builder; |
|
import lombok.Data; |
|
import lombok.NoArgsConstructor; |
|
|
|
import java.io.Serializable; |
|
|
|
/** |
|
* jwt 存储的 内容 |
|
* |
|
* @author 云久 |
|
* @date 2018/11/20 |
|
*/ |
|
@Data |
|
@AllArgsConstructor |
|
@NoArgsConstructor |
|
@Builder |
|
public class JwtUserInfo implements Serializable { |
|
|
|
/** |
|
* 账号id |
|
*/ |
|
private Long userId; |
|
|
|
/** |
|
* 账号 |
|
*/ |
|
private String account; |
|
|
|
/** |
|
* 姓名 |
|
*/ |
|
private String name; |
|
|
|
/** |
|
* 手机号 |
|
*/ |
|
private String mobile; |
|
|
|
/** |
|
* 用户类型 |
|
*/ |
|
private UserType userType; |
|
} |