package com.red.circle.wallet.inner.convertor;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.wallet.infra.database.rds.entity.freight.FreightSeller;
import com.red.circle.wallet.inner.model.dto.FreightSellerDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/12/26
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface FreightSellerInnerConvertor {

  FreightSeller toFreightSeller(FreightSellerDTO freightSeller);

  FreightSellerDTO toFreightSellerDTO(FreightSeller freightSeller);

  List<FreightSellerDTO> toListFreightSellerDTO(List<FreightSeller> freightSellers);
}
