package com.yd.csf.api.service;

import com.yd.common.result.Result;
import com.yd.csf.feign.dto.referrer.ApiReferrerDTO;
import com.yd.csf.feign.request.agentreferralrelation.ApiAgentReferralRelationSaveRequest;
import com.yd.csf.service.model.CsfClientUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ApiAgentReferralRelationService {
    Result save(ApiAgentReferralRelationSaveRequest request);

    Result saveAgentReferralRelationList(List<ApiReferrerDTO> referrerDTOList, CsfClientUser csfClientUser);
}
