566972d01eeaab8c5e3dad5b40a1bd036a858912
[institute/sw-backend.git] /
1 package com.supwisdom.institute.backend.admin.bff.apis.vo.me.response.data;
2
3 import org.springframework.beans.BeanUtils;
4
5 import com.supwisdom.institute.backend.admin.bff.apis.model.me.CurrentUser;
6 import com.supwisdom.institute.backend.common.framework.vo.response.data.IApiResponseData;
7
8 public class CurrentUserResponseData extends CurrentUser implements IApiResponseData {
9
10   /**
11    * 
12    */
13   private static final long serialVersionUID = 2296310299015658064L;
14
15   public static CurrentUserResponseData of(CurrentUser currentUser) {
16     CurrentUserResponseData data = new CurrentUserResponseData();
17     
18     BeanUtils.copyProperties(currentUser, data);
19     
20     return data;
21   }
22
23 }