com.nbsaas.boot.no.rest.convert.NoSequenceSimpleConvert 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.simple.NoSequenceSimple;
import com.nbsaas.boot.rest.api.Converter;
/**
* 订单-列表对象转换器
*/
public class NoSequenceSimpleConvert implements Converter {
@Override
public NoSequenceSimple convert(NoSequence source) {
NoSequenceSimple result = new NoSequenceSimple();
result.setStepKey(source.getStepKey());
result.setCurStep(source.getCurStep());
result.setStep(source.getStep());
result.setId(source.getId());
result.setAddDate(source.getAddDate());
result.setLastDate(source.getLastDate());
return result;
}
}