package com.interplug.qcast.biz.myInfo;

import org.springframework.stereotype.Service;
import com.interplug.qcast.biz.myInfo.dto.MyInfoRequest;
import com.interplug.qcast.biz.myInfo.dto.MyInfoResponse;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service
@RequiredArgsConstructor
public class MyInfoService {

  private final MyInfoMapper myInfoMapper;

  /**
   * 사용자 ID의 정보 조회
   *
   * @param userId
   * @return MyInfoResponse
   */
  public MyInfoResponse getMyInfo(MyInfoRequest myInfoRequest) {
    return myInfoMapper.selectMyInfo(myInfoRequest);
  }

}
