# SvaSettingDriverTypeEnum.java

    package cloud.wconnect.workperformance.cons.sva;

    import cloud.wconnect.workperformance.entity.sva.saleforecast.SaleForecast;
    import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
    import lombok.AllArgsConstructor;
    import lombok.Getter;

    /**
     * productivity ratio settings，Driver Type枚举类
     *
     * @author lichen
     * @date 2026/3/6
     */
    @AllArgsConstructor
    @Getter
    public enum SvaSettingDriverTypeEnum {

        /**
         * 房间销售数量
         */
        ROOMS_SOLD("ROOMS_SOLD", SaleForecast::getEstiRoomSales),
        /**
         * 餐厅用餐人数 / 餐厅客位数
         */
        RESTAURANT_COVERS("RESTAURANT_COVERS", SaleForecast::getRestaurantCovers),
        /**
         * 宴会用餐人数 / 宴会客位数
         */
        BANQUET_COVERS("BANQUET_COVERS", SaleForecast::getBanquetCovers),
        /**
         * 区域用餐人数 / 区域客位数
         */
        AOI_COVERS("AOI_COVERS", SaleForecast::getAoiCovers),
        /**
         * 宴会F&B人数 / 宴会F&B客位数
         */
        BANQUET_FB_COVERS("BANQUET_F&B_COVERS", SaleForecast::getBanquetFbCovers),
        /**
         * 宴会setup人数 / 宴会setup客位数
         */
        BANQUET_SETUP_COVERS("BANQUET_SETUP_COVERS", SaleForecast::getBanquetSetupCovers);

        private String value;

        private SFunction<SaleForecast, Integer> column;
    }