package com.red.circle.other.infra.convertor.user;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.cache.entity.user.UserFriendshipCardConfigCache;
import com.red.circle.other.infra.database.rds.entity.user.user.FriendshipCardConfig;
import java.util.List;
import org.mapstruct.Mapper;

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

  List<UserFriendshipCardConfigCache> toListUserFriendshipCardConfigCache(
      List<FriendshipCardConfig> list);

  List<FriendshipCardConfig> toListFriendshipCardConfig(
      List<UserFriendshipCardConfigCache> list);

}
