class BookingBucket implements Comparable {

    @JsonIgnore
    public double getSumOfAllocatedAmounts()
    {
        double result = 0;
        for (Number d : this.getAllocatedAmounts().values())
        {
            result += d.doubleValue();
        }
        return result;
    }

    public  BookingBucket();
    public  BookingBucket(String day, String bookingId, List<String> previousBookingOrder, int priority);
    public  BookingBucket(String id, Map source);

}