package com.red.circle.other.app.inner.convertor.material;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.props.FragmentsBackpack;
import com.red.circle.other.inner.model.dto.material.FragmentsBackpackDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/6/4
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface FragmentsBackpackInnerConvertor {

  FragmentsBackpackDTO toFragmentsBackpackDTO(FragmentsBackpack backpack);

  List<FragmentsBackpackDTO> toListFragmentsBackpackDTO(List<FragmentsBackpack> backpacks);
}
