feat: implement dice game api (CAS-74) #203

Merged
jank merged 3 commits from feat-dice into main 2025-05-21 07:10:07 +00:00
Showing only changes of commit d670190073 - Show all commits

View file

@ -1,7 +1,12 @@
package de.szut.casino.dice;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
@Setter
@Getter
public class DiceResult {
private boolean win;
private BigDecimal payout;
@ -12,28 +17,4 @@ public class DiceResult {
this.payout = payout;
this.rolledValue = rolledValue;
}
public boolean isWin() {
return win;
}
public void setWin(boolean win) {
this.win = win;
}
public BigDecimal getPayout() {
return payout;
}
public void setPayout(BigDecimal payout) {
this.payout = payout;
}
public BigDecimal getRolledValue() {
return rolledValue;
}
public void setRolledValue(BigDecimal rolledValue) {
this.rolledValue = rolledValue;
}
}