package com.dbnt.kcscbackend.admin.boards.service;

import com.dbnt.kcscbackend.admin.boards.entity.TnBbs;
import com.dbnt.kcscbackend.admin.boards.repository.TnBbsRepository;
import lombok.RequiredArgsConstructor;
import org.egovframe.rte.fdl.cmmn.EgovAbstractServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class AdminBoardsService extends EgovAbstractServiceImpl {

    private final TnBbsRepository tnBbsRepository;

    public List<TnBbs> selectBoardList() { return tnBbsRepository.findAll(); }

}
