package com.moral.api.pojo.vo.user; 
 | 
  
 | 
import com.moral.api.entity.Organization; 
 | 
import com.moral.api.entity.User; 
 | 
import com.moral.api.pojo.dto.user.UserDTO; 
 | 
import com.moral.constant.ResponseCodeEnum; 
 | 
  
 | 
/** 
 | 
 * @ClassName UserUpdateVO 
 | 
 * @Description TODO 
 | 
 * @Author 陈凯裕 
 | 
 * @Date 2021/4/29 17:15 
 | 
 * @Version TODO 
 | 
 **/ 
 | 
public class UserUpdateVO extends UserVO{ 
 | 
    public UserUpdateVO convert(UserDTO dto){ 
 | 
        if (dto.getCode() != ResponseCodeEnum.SUCCESS.getCode()) 
 | 
            return null; 
 | 
        UserUpdateVO vo = new UserUpdateVO(); 
 | 
        User user = dto.getUser(); 
 | 
        return null; 
 | 
  
 | 
    } 
 | 
} 
 |