package com.sptg.estate.biz.service;

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

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lianghanqiang
 * @since 2021-01-19
 */
public interface IBillsService extends IService<Bills> {

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


    /**
     * 新增
     * @param billsDto
     * @return
     */
    ResultBean<Boolean> add(BillsDto billsDto);

    /**
     * 修改
     * @param billsDto
     * @return
     */
    ResultBean<Boolean> edit(BillsDto billsDto);

    /**
     * 删除
     * @param id
     * @return
     */
    ResultBean<Boolean> delete(BillsDto billsDto);
}
