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

import com.kamco.cd.kamcoback.common.api.HelloDto;
import java.util.UUID;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class HelloService {

  public HelloDto.Res sayHello(HelloDto.Req req) {
    log.info("hello");
    String name = UUID.randomUUID().toString();
    return HelloDto.Res.builder().id(req.getId()).name(name).build();
  }
}
