StaffOutputValueStatDTOConvert.java 711 Bytes
package cn.com.glsx.busassistant.converter;

import cn.com.glsx.busassistant.response.outputValue.ListStaffOutputValuesItemResponse;
import cn.com.glsx.dj.smartcarlife.dto.staffStat.StaffOutputValueStatDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

@Mapper
public interface StaffOutputValueStatDTOConvert {
    StaffOutputValueStatDTOConvert INSTANCE = Mappers.getMapper(StaffOutputValueStatDTOConvert.class);

    @Mappings({
         @Mapping(source = "totalOrderMoney",target = "totalOutputValue"),
    })
    ListStaffOutputValuesItemResponse toListStaffOutputValuesItemResponse(StaffOutputValueStatDTO sourceEntity);
}