package com.amms.service;

import java.util.Date;
import java.util.List;
import com.amms.domain.ReservationTimeSlot;

/**
 * 预约时段Service接口
 */
public interface IReservationTimeSlotService {
    /**
     * 查询预约时段列表
     *
     * @param reservationTimeSlot 预约时段
     * @return 预约时段集合
     */
    public List<ReservationTimeSlot> selectReservationTimeSlotList(ReservationTimeSlot reservationTimeSlot);

    /**
     * 查询预约时段
     *
     * @param id 预约时段主键
     * @return 预约时段
     */
    public ReservationTimeSlot selectReservationTimeSlotById(Long id);

    /**
     * 新增预约时段
     *
     * @param reservationTimeSlot 预约时段
     * @return 结果
     */
    public int insertReservationTimeSlot(ReservationTimeSlot reservationTimeSlot);

    /**
     * 修改预约时段
     *
     * @param reservationTimeSlot 预约时段
     * @return 结果
     */
    public int updateReservationTimeSlot(ReservationTimeSlot reservationTimeSlot);

    /**
     * 删除预约时段信息
     *
     * @param id 预约时段主键
     * @return 结果
     */
    public int deleteReservationTimeSlotById(Long id);

    /**
     * 批量新增预约时段（根据日期范围）
     */
    public int batchInsertReservationTimeSlots(Date startDate, Date endDate, Date startTime, Date endTime, Integer maxPeople, Long status);
}
