# AdvanceAbscissaEnum.java

    package cloud.wconnect.rateshop.cons.booking;

    import com.google.common.collect.Lists;
    import lombok.AllArgsConstructor;
    import lombok.Getter;

    import java.util.List;

    /**
     * Enum: Advance Abscissa
     *
     * @author: yyt
     * 2024-07-23
     */
    @Getter
    @AllArgsConstructor
    public enum AdvanceAbscissaEnum {

        /**
         * 0 - 2 day
         */
        ZERO_TWO_DAY(1, BookingAbscissaCons.RANGE, Lists.newArrayList(0, 2)),

        /**
         * 3 - 6 day
         */
        THREE_SIX_DAY(2, BookingAbscissaCons.RANGE, Lists.newArrayList(3, 6)),

        /**
         * 7 - 13 day
         */
        SEVEN_THIRTEEN_DAY(3, BookingAbscissaCons.RANGE, Lists.newArrayList(7, 13)),

        /**
         * 14 - 29 day
         */
        FOURTEEN_TWENTY_NINE_DAY(4, BookingAbscissaCons.RANGE, Lists.newArrayList(14, 29)),

        /**
         * 30 - 59 day
         */
        THIRTY_FIFTY_NINE_DAY(5, BookingAbscissaCons.RANGE, Lists.newArrayList(30, 59)),

        /**
         * 60 - 89 day
         */
        SIXTY_EIGHTY_NINE_DAY(6, BookingAbscissaCons.RANGE, Lists.newArrayList(60, 89)),

        /**
         * 大于等于 90 day
         */
        GREATER_NINETY_DAY(7, BookingAbscissaCons.GREATER_EQUAL, Lists.newArrayList(90));

        private final int abscissa;

        private final int type;

        private final List<Integer> valueRange;

    }