package com.interplug.qcast.biz.trestle;

import com.interplug.qcast.biz.trestle.dto.TrestleInfoResponse;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class TrestleInfoService {

  private final TrestleInfoMapper trestleMapper;

  public List<TrestleInfoResponse> getTrestlesByRoofMaterialId(Integer roofMaterialId) {
    return trestleMapper.getTrestlesByRoofMaterialId(roofMaterialId);
  }
}
