@@ -0,0 +1,982 @@
+package net.mstezala.services.models;%0A%0Aimport java.math.BigDecimal;%0A%0Apublic class Nominal implements Comparable%3CNominal%3E %7B%0A%0A    private BigDecimal value;%0A%0A    public Nominal(BigDecimal value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public BigDecimal getValue() %7B%0A        return value;%0A    %7D%0A%0A    public void setValue(BigDecimal value) %7B%0A        this.value = value;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        Nominal coin = (Nominal) o;%0A%0A        return value.equals(coin.value);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return value.hashCode();%0A    %7D%0A%0A    @Override%0A    public int compareTo(Nominal o) %7B%0A        return (this.value.subtract(o.getValue())).multiply(BigDecimal.valueOf(100)).intValue();%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return value.setScale(2, BigDecimal.ROUND_HALF_UP).toString() + %22 %22;%0A    %7D%0A%7D%0A

create slots. Change ticketBank to ticketSlot