package com.red.circle.other.app.convertor.sys;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.app.dto.clientobject.activity.ActivityResourceCO;
import com.red.circle.other.app.dto.clientobject.sys.ActivityPropsGroupCO;
import com.red.circle.other.inner.model.dto.activity.props.ActivityPropsGroup;
import com.red.circle.other.inner.model.dto.activity.props.ActivityResource;
import com.red.circle.other.inner.model.dto.activity.props.ActivityRewardProps;
import com.red.circle.other.inner.model.dto.activity.props.ActivityRewardPropsDTO;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author zongpubin on 2023/8/3
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface ActivityAppConvertor {

  ActivityPropsGroupCO toActivityPropsGroupCO(ActivityPropsGroup activityPropsGroup);

  List<ActivityResourceCO> toListActivityResourceCO(List<ActivityResource> activityResource);

  List<ActivityRewardPropsDTO> toActivityRewardPropsDTO(
      List<ActivityRewardProps> activityRewardProps);
}
