mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 20:31:09 +08:00
增加积分系统
This commit is contained in:
@@ -5,9 +5,8 @@ import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import org.hibernate.annotations.CreationTimestamp;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
import com.openisle.model.Role;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Simple user entity with basic fields and a role.
|
||||
@@ -44,6 +43,9 @@ public class User {
|
||||
@Column(nullable = false)
|
||||
private int experience = 0;
|
||||
|
||||
@Column(nullable = false)
|
||||
private int point = 0;
|
||||
|
||||
@Column(length = 1000)
|
||||
private String introduction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user