fix: fix some stuff

This commit is contained in:
Constantin Simonis 2025-02-19 11:34:49 +01:00
parent 793f3f6834
commit df9fa9f275
No known key found for this signature in database
GPG key ID: 758DD9C506603183
10 changed files with 132 additions and 24 deletions

View file

@ -1,5 +1,6 @@
package de.szut.casino.user;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
@ -13,6 +14,8 @@ public class UserEntity {
@Id
@GeneratedValue
private Long id;
@Column(unique = true)
private String keycloakId;
private String username;
private float balance;
}