package com.kospo.talk.service.impl;

import com.kospo.talk.model.TalkRead;
import com.kospo.talk.repository.TalkReadRepository;
import com.kospo.talk.service.TalkReadService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class TalkReadServiceImpl implements TalkReadService {
    private final TalkReadRepository talkReadRepository;

    @Override
    public void saveAll(List<TalkRead> talkReads) {
        talkReadRepository.saveAll(talkReads);
    }
}
