package com.red.circle.other.app.service.violation;

import com.red.circle.framework.dto.PageResult;
import com.red.circle.other.app.dto.clientobject.violation.ViolationHandleResultCO;
import com.red.circle.other.app.dto.clientobject.violation.ViolationRecordCO;
import com.red.circle.other.app.dto.cmd.violation.RoomViolationHandleCmd;
import com.red.circle.other.app.dto.cmd.violation.ViolationRecordPageQueryCmd;

/**
 * 房间违规服务接口
 *
 * @author Claude
 * @date 2025-01-15
 */
public interface RoomViolationService {

    /**
     * 处理房间违规
     *
     * @param cmd 处理命令
     * @return 处理结果
     */
    ViolationHandleResultCO handle(RoomViolationHandleCmd cmd);

    /**
     * 分页查询违规记录
     *
     * @param cmd 查询命令
     * @return 分页结果
     */
    PageResult<ViolationRecordCO> pageQuery(ViolationRecordPageQueryCmd cmd);
}
