package com.coder.purchase.order.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.coder.purchase.order.dto.AssetMakeDTO;


@FeignClient(name = "asset-make-microservice", url = "http://localhost:8300")

public interface AssetMakeServiceClient {
    @GetMapping("/asset_make_service/single/{code}/{year}/{number}")
    AssetMakeDTO getSingleAssetMake(
            @PathVariable String code,
            @PathVariable String year,
            @PathVariable String number
    );
}