package com.interplug.qcast.biz.module;

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

@Service
@RequiredArgsConstructor
public class ModuleInfoService {

  private final ModuleInfoMapper moduleMapper;

  public List<ModuleInfoResponse> getModulesByRoofMaterialIdAndTrestleId(
      Integer roofMaterialId, Integer trestleId) {
    return moduleMapper.getModulesByRoofMaterialIdAndTrestleId(roofMaterialId, trestleId);
  }
}
