package com.sptg.estate.biz.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.sptg.common.core.beans.ResultBean;
import com.sptg.estate.api.dto.ParkingSpaceDto;
import com.sptg.estate.api.entity.ParkingSpace;
import com.sptg.estate.api.entity.ParkingSpace;

public interface ParkingSpaceServiceInterface extends IService<ParkingSpace> {

    /**
     * 查询
     * @param dto
     * @return
     */
    ResultBean<Page<ParkingSpace>> page(ParkingSpaceDto dto);

    /**
     * 新增
     * @param dto
     * @return
     */
    ResultBean<Boolean> add(ParkingSpaceDto dto);

    /**
     * 修改
     * @param dto
     * @return
     */
    ResultBean<Boolean> edit(ParkingSpaceDto dto);

    /**
     * 删除
     * @param dto
     * @return
     */
    ResultBean<Boolean> delete(ParkingSpaceDto dto);

}
