feat: add user creation on login (wip)
This commit is contained in:
parent
44c7d8be57
commit
793f3f6834
13 changed files with 196 additions and 9 deletions
18
backend/src/main/java/de/szut/casino/user/UserEntity.java
Normal file
18
backend/src/main/java/de/szut/casino/user/UserEntity.java
Normal file
|
@ -0,0 +1,18 @@
|
|||
package de.szut.casino.user;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.Id;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Setter
|
||||
@Getter
|
||||
@Entity
|
||||
public class UserEntity {
|
||||
@Id
|
||||
@GeneratedValue
|
||||
private Long id;
|
||||
private String keycloakId;
|
||||
private String username;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue