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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.activity.ActivityGlobalizationDescription;
import com.red.circle.other.inner.model.dto.activity.ActivityGlobalizationDescriptionDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/10/8
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface ActivityGlobalizationDescriptionInnerConvertor {

  ActivityGlobalizationDescription toActivityGlobalizationDescriptionDTO(
      ActivityGlobalizationDescriptionDTO dto);

  List<ActivityGlobalizationDescriptionDTO> toListActivityGlobalizationDescriptionDTO(
      List<ActivityGlobalizationDescription> list);
}
