class DiscountValueMapper extends AbstractConverter<DiscountValueDto, DiscountValue> {

    @Override
    protected DiscountValue convert(DiscountValueDto discountValueDto) {
        return DiscountValue.builder()
            .value(discountValueDto.getValue())
            .build();
    }

}