Commit 16afae5d by 刘宇峰

框架完善

1 parent 39fc0b75
......@@ -19,21 +19,11 @@ public abstract class BaseJwtUser {
private String application;
/**
* 用户标识(用long,)
*/
private String userId;
/**
* 用户账号(如:管理系统admin,消费者系统手机号等)
*/
private String account;
/**
* 租户
*/
private String tenant;
/**
* 子类的class全限定名
*/
private String clazz;
......
......@@ -11,10 +11,20 @@ import lombok.Data;
public class ComJwtUser extends BaseJwtUser {
/**
* 租户
*/
private String tenant;
/**
* 归属(租户、组织、机构、部门、个体等等)
*/
private String belong;
/**
* 用户标识
*/
private String userId;
@Override
public String getClazz() {
return this.getClass().getCanonicalName();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!