package com.kamco.cd.kamcoback.label.service;

import com.kamco.cd.kamcoback.label.dto.LabelWorkDto;
import com.kamco.cd.kamcoback.label.dto.LabelWorkDto.LabelWorkMng;
import com.kamco.cd.kamcoback.postgres.core.LabelWorkCoreService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class LabelWorkService {

  private final LabelWorkCoreService labelWorkCoreService;

  public LabelWorkService(LabelWorkCoreService labelWorkCoreService) {
    this.labelWorkCoreService = labelWorkCoreService;
  }

  public Page<LabelWorkMng> labelWorkMngList(LabelWorkDto.LabelWorkMngSearchReq searchReq) {

    return labelWorkCoreService.labelWorkMngList(searchReq);
  }
}
