注册用户
This commit is contained in:
@@ -3,6 +3,7 @@ package com.lovenav.entity;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
|
||||
/**
|
||||
* ln_user
|
||||
@@ -14,6 +15,14 @@ public class User implements Serializable {
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
public String getActiveCode() {
|
||||
return activeCode;
|
||||
}
|
||||
|
||||
public void setActiveCode(String activeCode) {
|
||||
this.activeCode = activeCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户登录名
|
||||
*/
|
||||
@@ -137,7 +146,12 @@ public class User implements Serializable {
|
||||
/**
|
||||
* 角色组
|
||||
*/
|
||||
@Value("1")
|
||||
private Byte roleId;
|
||||
|
||||
private String activeCode;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user