27 lines
681 B
Java
27 lines
681 B
Java
package net.srt.convert;
|
|
|
|
import net.srt.entity.DataServiceApiAuthEntity;
|
|
import net.srt.vo.DataServiceApiAuthVo;
|
|
import org.mapstruct.Mapper;
|
|
import org.mapstruct.factory.Mappers;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @ClassName : DataServiceApiAuthConvert
|
|
* @Description :
|
|
* @Author : FJJ
|
|
* @Date: 2023-12-26 19:45
|
|
*/
|
|
@Mapper
|
|
public interface DataServiceApiAuthConvert {
|
|
DataServiceApiAuthConvert INSTANCE = Mappers.getMapper(DataServiceApiAuthConvert.class);
|
|
|
|
|
|
DataServiceApiAuthEntity convert(DataServiceApiAuthVo vo);
|
|
|
|
DataServiceApiAuthVo convert(DataServiceApiAuthEntity entity);
|
|
|
|
List<DataServiceApiAuthVo> convertList(List<DataServiceApiAuthEntity> list);
|
|
}
|