class BookingBucket implements Comparable {

    public static BookingBucket clone(BookingBucket bb)
    {
        ObjectMapper oMapper = new ObjectMapper();
        Map map = oMapper.convertValue(bb, Map.class);
        BookingBucket newBB = oMapper.convertValue(map, BookingBucket.class);
        return newBB;
    }

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

}