package com.seer.teach.teacher.convert;

import com.seer.teach.teacher.common.resp.WrongQuestionResp;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;


@Mapper
public interface WrongQuestionBookConvert {

    WrongQuestionBookConvert INSTANCE = Mappers.getMapper(WrongQuestionBookConvert.class);

    @Mapping(source = "totalWrongCount",target = "count")
    WrongQuestionResp toWrongQuestion(String totalWrongCount);
}
