mirror of https://gitee.com/stylefeng/roses
【8.0】【auth】登录用户增加账号和其他信息
parent
52e4d77e70
commit
844a42383e
|
@ -24,6 +24,7 @@
|
|||
*/
|
||||
package cn.stylefeng.roses.kernel.auth.api.pojo.login;
|
||||
|
||||
import cn.hutool.core.lang.Dict;
|
||||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
||||
import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
|
||||
import lombok.Data;
|
||||
|
@ -48,6 +49,12 @@ public class LoginUser implements Serializable {
|
|||
@ChineseDescription("用户主键id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 账号
|
||||
*/
|
||||
@ChineseDescription("账号")
|
||||
private String account;
|
||||
|
||||
/**
|
||||
* 用户的token
|
||||
*/
|
||||
|
@ -94,6 +101,12 @@ public class LoginUser implements Serializable {
|
|||
@ChineseDescription("登录时间")
|
||||
private Date loginTime;
|
||||
|
||||
/**
|
||||
* 登录用户的其他信息
|
||||
*/
|
||||
@ChineseDescription("登录用户的其他信息")
|
||||
private Dict otherInfos;
|
||||
|
||||
public LoginUser() {
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue