package com.amms.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.amms.domain.ReservationTimeSlot;

/**
 * 预约时段Mapper接口
 */
@Mapper
public interface ReservationTimeSlotMapper {
    /**
     * 查询预约时段
     *
     * @param id 预约时段主键
     * @return 预约时段
     */
    public ReservationTimeSlot selectReservationTimeSlotById(Long id);

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

    /**
     * 新增预约时段
     *
     * @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(java.util.List<ReservationTimeSlot> list);
}
