package com.mindskip.xzs.utility.convert; import com.mindskip.xzs.viewmodel.admin.question.QuestionEditRequestVM; import com.mindskip.xzs.viewmodel.admin.question.QuestionEditVO; import org.mapstruct.Mapper; import org.mapstruct.Mapping; import org.mapstruct.Mappings; import org.mapstruct.factory.Mappers; import java.util.List; @Mapper public interface QuestionClassConvert { QuestionClassConvert INSTANCE = Mappers.getMapper(QuestionClassConvert.class); @Mappings({ @Mapping(source = "a",target = "a"), @Mapping(source = "b",target = "b"), @Mapping(source = "c",target = "c"), @Mapping(source = "d",target = "d"), @Mapping(source = "sbNames",target = "sbNames"), @Mapping(source = "department",target = "department"), }) List QuestionEditVOListToQuestionEditRequestVMList(List questionEditVO); }