package com.kamco.cd.kamcoback.postgres.core;

import com.kamco.cd.kamcoback.label.dto.LabelWorkDto;
import com.kamco.cd.kamcoback.label.dto.LabelWorkDto.LabelWorkMng;
import com.kamco.cd.kamcoback.postgres.repository.label.LabelWorkRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class LabelWorkCoreService {

  private final LabelWorkRepository labelWorkRepository;

  public Page<LabelWorkMng> labelWorkMngList(LabelWorkDto.LabelWorkMngSearchReq searchReq) {
    return labelWorkRepository.labelWorkMngList(searchReq);
  }
}
