| | |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import com.moral.api.entity.ManageAccount; |
| | | import com.moral.api.pojo.dto.account.AccountDTO; |
| | | import com.moral.api.pojo.dto.account.AccountDeleteDTO; |
| | | import com.moral.constant.ResponseCodeEnum; |
| | | import lombok.Data; |
| | |
| | | |
| | | public class AccountDeleteVO extends AccountVO { |
| | | |
| | | |
| | | public static AccountDeleteVO convert(AccountDeleteDTO dto) { |
| | | public static AccountDeleteVO convert(AccountDTO dto) { |
| | | if (dto.getCode() != ResponseCodeEnum.SUCCESS.getCode()) |
| | | return null; |
| | | AccountDeleteVO vo = new AccountDeleteVO(); |