package com.xiaoniu.system.insurancerescue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoniu.common.core.resdata.RowsData;
import com.xiaoniu.system.insurancerescue.domain.TbInsuranceRescue;
import com.xiaoniu.system.insurancerescue.dto.EditInsuranceRescueDTO;
import com.xiaoniu.system.insurancerescue.dto.InsuranceRescueQueryDTO;
import com.xiaoniu.system.insurancerescue.vo.InsuranceRescueDetailsVO;
import com.xiaoniu.system.insurancerescue.vo.InsuranceRescueListVO;

/**
 * <p>
 * 保险救援信息表 服务类
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-18 05:03:00
 */
public interface ITbInsuranceRescueService extends IService<TbInsuranceRescue> {

    /**
     * 保险救援列表
     *
     * @param dto dto
     * @return RowsData<InsuranceRescueListVO>
     */
    RowsData<InsuranceRescueListVO> insuranceRescueList(InsuranceRescueQueryDTO dto);

    /**
     * 修改保险救援
     *
     * @param dto dto
     */
    void editInsuranceRescue(EditInsuranceRescueDTO dto);

    /**
     * 保险救援详情
     *
     * @param id id
     * @return InsuranceRescueDetailsVO
     */
    InsuranceRescueDetailsVO details(Long id);
}
