package com.gxwebsoft.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.house.entity.Reservation;
import com.gxwebsoft.house.param.ReservationParam;

import java.util.List;

/**
 * 预约记录表Service
 *
 * @author 科技小王子
 * @since 2023-08-03 18:23:43
 */
public interface ReservationService extends IService<Reservation> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<Reservation>
     */
    PageResult<Reservation> pageRel(ReservationParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<Reservation>
     */
    List<Reservation> listRel(ReservationParam param);

    /**
     * 根据id查询
     *
     * @param logId ID
     * @return Reservation
     */
    Reservation getByIdRel(Integer logId);

}
