package com.crm.manager.service.follow;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.follow.wallet.FollowWalletSearchDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.follow.wallet.FollowWalletSearchEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "FOLLOW-SERVICE", path = "/follow/wallet/manager")
public interface FollowWalletFeignService {

    @PostMapping("/single")
    BaseResultDto<FollowWalletSearchDto> single(SingleLongEntity entity) throws Exception;

    @PostMapping("/list")
    BaseResultWithPagerDto<FollowWalletSearchDto> list(FollowWalletSearchEntity entity) throws Exception;
}
