package com.amms.service;

import java.util.List;
import com.amms.domain.ReservationVisitor;

/**
 * 游客预约明细Service接口
 */
public interface IReservationVisitorService {
    /**
     * 查询游客预约明细列表
     *
     * @param reservationVisitor 游客预约明细
     * @return 游客预约明细集合
     */
    public List<ReservationVisitor> selectReservationVisitorList(ReservationVisitor reservationVisitor);

    /**
     * 查询游客预约明细
     *
     * @param id 游客预约明细主键
     * @return 游客预约明细
     */
    public ReservationVisitor selectReservationVisitorById(Long id);

    /**
     * 新增游客预约明细
     *
     * @param reservationVisitor 游客预约明细
     * @return 结果
     */
    public int insertReservationVisitor(ReservationVisitor reservationVisitor);

    /**
     * 修改游客预约明细
     *
     * @param reservationVisitor 游客预约明细
     * @return 结果
     */
    public int updateReservationVisitor(ReservationVisitor reservationVisitor);

    /**
     * 删除游客预约明细信息
     *
     * @param id 游客预约明细主键
     * @return 结果
     */
    public int deleteReservationVisitorById(Long id);

    /**
     * 根据预约ID批量删除游客预约明细信息
     *
     * @param reservationId 预约主表ID
     * @return 结果
     */
    public int deleteReservationVisitorsByReservationId(Long reservationId);
}
