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.gift.GiftBackpack;
import com.red.circle.other.infra.database.rds.entity.gift.GiftBackpackLimit;
import com.red.circle.other.inner.model.dto.material.GiftBackpackDTO;
import com.red.circle.other.inner.model.dto.material.GiftBackpackLimitDTO;
import java.util.List;
import org.mapstruct.Mapper;

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

  GiftBackpackDTO toGiftBackpackDTO(GiftBackpack giftBackpack);

  List<GiftBackpackDTO> toListGiftBackpackDTO(List<GiftBackpack> giftBackpacks);

  GiftBackpackLimit toGiftBackpackLimit(GiftBackpackLimitDTO limit);
}
