注册用户

This commit is contained in:
2023-12-20 22:06:44 +08:00
parent 09165ec608
commit 745a9cb669
7 changed files with 121 additions and 5 deletions

View File

@@ -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;
}