kaiyu
2021-05-06 52d8cf200d7a54890845d4c468c24b6ab97a4762
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
 
    }
}