package com.gxwebsoft.house.service;

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

import java.util.List;

/**
 * 预约记录表Service
 *
 * @author 科技小王子
 * @since 2025-03-05 13:47:15
 */
public interface HouseReservationService extends IService<HouseReservation> {

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

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

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

}
