All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nbsaas.boot.no.rest.convert.NoSequenceEntityConvert 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.request.NoSequenceRequest;

import org.springframework.beans.BeanUtils;
import com.nbsaas.boot.rest.api.Converter;
import com.nbsaas.boot.utils.BeanDataUtils;

/**
* 订单请求对象转换成实体对象
*/

public class NoSequenceEntityConvert  implements Converter {

    @Override
    public NoSequence convert(NoSequenceRequest source) {
        NoSequence result = new NoSequence();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy