package com.zcloud.zcGbsServicer.persistence.repository;

import com.alibaba.cola.dto.PageResponse;
import com.jjb.saas.framework.repository.repo.BaseRepository;
import com.zcloud.zcGbsServicer.persistence.dataobject.FireAlarmMeetingRoomDO;

import java.util.Map;

public interface FireAlarmMeetingRoomRepository extends BaseRepository<FireAlarmMeetingRoomDO> {

    PageResponse<FireAlarmMeetingRoomDO> listPage(Map<String, Object> params);

    boolean existsByRoomCode(String roomCode, Long excludeId);

    FireAlarmMeetingRoomDO getByRoomCode(String roomCode);

    java.util.List<FireAlarmMeetingRoomDO> listAll();
}
