package com.qianwen.smartman.modules.smis.convert; import java.util.List; import org.mapstruct.Builder; import org.mapstruct.Mapper; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; import com.qianwen.smartman.modules.smis.entity.MalfunctionType; import com.qianwen.smartman.modules.smis.excel.MalfunctionTypeExcel; import com.qianwen.smartman.modules.smis.excel.MalfunctionTypeImport; import com.qianwen.smartman.modules.smis.vo.MalfunctionTypeVO; @Mapper(builder = @Builder(disableBuilder = true)) public interface MalfunctionTypeConvert { public static final MalfunctionTypeConvert INSTANCE = (MalfunctionTypeConvert) Mappers.getMapper(MalfunctionTypeConvert.class); @Mappings({}) MalfunctionType convert(MalfunctionTypeVO malfunctionTypeVO); @Mappings({}) MalfunctionTypeVO convert(MalfunctionType malfunctionType); @Mappings({}) MalfunctionType convert(MalfunctionTypeImport x); @Mappings({}) List convert(List malfunctionTypeList); @Mappings({}) MalfunctionTypeExcel convertToExcel(MalfunctionTypeVO malfunctionTypeVO); }