package com.ruoyi.course.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.course.domain.Classroom;

import java.util.Map;

/**
 * <p>
 * 教室信息表 服务类
 * </p>
 *
 * @author xu
 * @since 2025-12-14
 */
public interface IClassroomService extends IService<Classroom> {

    Map<String, Object> getClassroomUsageStatistics();

    Map<String, Object> batchAssignClassroomsByGrade(String grade, String roomType);

    boolean removeClassroomFromClass(Long classId);

    boolean assignClassroomToClass(Long classId, Long classroomId);

    Map<String, Object> autoAssignClassrooms(String grade);

    Map<String, Object> validateClassroomAssignments();

}
