feat: Add user relation to black jack game entity
This commit is contained in:
parent
64e41b663e
commit
85d2b218aa
4 changed files with 10 additions and 6 deletions
|
@ -0,0 +1,15 @@
|
|||
package de.szut.casino.blackjack;
|
||||
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class CardEntity {
|
||||
private final Suit suit;
|
||||
private final Rank rank;
|
||||
|
||||
public CardEntity(Suit suit, Rank rank) {
|
||||
this.suit = suit;
|
||||
this.rank = rank;
|
||||
}
|
||||
}
|
Reference in a new issue