package com.agileboot.system.log.service;

import com.agileboot.common.mybatis.core.page.PageR;
import com.agileboot.system.log.dto.LoginLogQuery;
import com.agileboot.system.log.dto.OperationLogQuery;
import com.agileboot.system.log.vo.LoginLogVO;
import com.agileboot.system.log.vo.OperationLogVO;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

import java.util.List;

public interface ILogService {
    PageR<LoginLogVO> getLoginInfoList(LoginLogQuery query);

    void deleteLoginInfo(@NotNull @NotEmpty List<Long> ids);

    PageR<OperationLogVO> getOperationLogList(OperationLogQuery query);

    void deleteOperationLog(List<Long> operationIds);
}
