xyz.migoo.framework.infra.convert.developer.dictionary.DictionaryConvert Maven / Gradle / Ivy
The newest version!
package xyz.migoo.framework.infra.convert.developer.dictionary;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import xyz.migoo.framework.common.pojo.PageResult;
import xyz.migoo.framework.infra.controller.developer.dictionary.vo.*;
import xyz.migoo.framework.infra.dal.dataobject.developer.dictionary.DictionaryDO;
import xyz.migoo.framework.infra.dal.dataobject.developer.dictionary.DictionaryValueDO;
import java.util.List;
@Mapper
public interface DictionaryConvert {
DictionaryConvert INSTANCE = Mappers.getMapper(DictionaryConvert.class);
DictionaryDO convert(DictionaryAddReqVO bean);
DictionaryDO convert(DictionaryUpdateReqVO bean);
DictionaryRespVO convert(DictionaryDO bean);
PageResult convert(PageResult beans);
List convert(List beans);
DictionaryValueDO convert(DictionaryValueAddReqVO bean);
DictionaryValueDO convert(DictionaryValueUpdateReqVO bean);
DictionaryValueRespVO convert(DictionaryValueDO bean);
PageResult convert2(PageResult beans);
List convert2(List beans);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy