package com.yaoai.admin.audit;

import com.yaoai.domain.entity.AdminAuditLog;
import com.yaoai.domain.mapper.AdminAuditLogMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class AdminAuditService {

    private final AdminAuditLogMapper adminAuditLogMapper;

    public void record(AdminAuditLog log) {
        adminAuditLogMapper.insert(log);
    }
}
