package com.sikey.wa04.business.infrastructure.adapter.dao;

import com.sikey.wa04.business.domain.adapter.MessageReceivedAdapter;
import com.sikey.wa04.business.domain.entity.message.Message;
import com.sikey.wa04.business.domain.entity.message.MessageReceivedLog;
import com.sikey.wa04.business.domain.entity.websocket.Ack;
import com.sikey.wa04.business.infrastructure.repository.MessageRecvRepository;
import jakarta.annotation.Resource;
import jakarta.transaction.Transactional;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 消息接收适配器实现类
 *
 * @author luoyangwei
 */
@Component
public class MessageReceivedAdapterImpl implements MessageReceivedAdapter {

    @Resource
    private MessageRecvRepository messageRecvRepository;

    @Override
    public List<Ack> save(Message message, List<MessageReceivedLog> messageReceivedLogs) {

        return null;
    }
}
