xyz.migoo.framework.infra.convert.developer.job.JobConvert Maven / Gradle / Ivy
The newest version!
package xyz.migoo.framework.infra.convert.developer.job;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import xyz.migoo.framework.common.pojo.PageResult;
import xyz.migoo.framework.infra.controller.developer.job.vo.JobCreateReqVO;
import xyz.migoo.framework.infra.controller.developer.job.vo.JobRespVO;
import xyz.migoo.framework.infra.controller.developer.job.vo.JobUpdateReqVO;
import xyz.migoo.framework.infra.dal.dataobject.developer.job.JobDO;
import java.util.List;
@Mapper
public interface JobConvert {
JobConvert INSTANCE = Mappers.getMapper(JobConvert.class);
JobDO convert(JobCreateReqVO bean);
JobDO convert(JobUpdateReqVO bean);
JobRespVO convert(JobDO bean);
List convertList(List list);
PageResult convertPage(PageResult page);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy