package com.njcn.device.pq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.device.pq.pojo.param.FlowMealParam;
import com.njcn.device.pq.pojo.po.FlowMeal;
import com.njcn.device.pq.pojo.vo.RateOfFlowVO;

import java.util.List;

/**
 * @version 1.0.0
 * @author: chenchao
 * @date: 2022/05/11 14:21
 */
public interface FlowMealService extends IService<FlowMeal> {

    /**
     * 获取流量套餐信息
     * @return
     */
    List<RateOfFlowVO> getRateOfFlowData();

    /**
     * 新增流量套餐
     * @param flowMealParam
     * @return
     */
    boolean addRateOfFlowData(FlowMealParam flowMealParam);

    /**
     * 修改流量套餐
     * @param flowMealUpdateParam
     * @return
     */
    boolean updateRateOfFlowData(FlowMealParam.FlowMealUpdateParam flowMealUpdateParam);

    /**
     * 删除流量套餐
     * @param id
     * @return
     */
    boolean deleteRateOfFlowData(String id);


}
