com.nbsaas.boot.no.rest.convert.NoSequenceResponseConvert Maven / Gradle / Ivy
The newest version!
package com.nbsaas.boot.no.rest.convert;
import com.nbsaas.boot.no.data.entity.NoSequence;
import com.nbsaas.boot.no.api.domain.response.NoSequenceResponse;
import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 订单-实体对象转化成响应对象
*/
public class NoSequenceResponseConvert implements Converter {
@Override
public NoSequenceResponse convert(NoSequence source) {
NoSequenceResponse result = new NoSequenceResponse();
BeanDataUtils.copyProperties(source, result);
return result;
}
}