Auto-create account in both MySQL and PG
This commit is contained in:
10
src/main/java/database/account/Account.java
Normal file
10
src/main/java/database/account/Account.java
Normal file
@@ -0,0 +1,10 @@
|
||||
package database.account;
|
||||
|
||||
import lombok.Builder;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Builder
|
||||
public record Account(String name, String password, boolean acceptedTos, LocalDate birthdate, String pin, String pic,
|
||||
int loggedIn) {
|
||||
}
|
||||
Reference in New Issue
Block a user