package com.crm.manager.service;

import com.crm.manager.configuration.FeignMultipartSupportConfig;
import com.crm.rely.backend.core.constant.FeignClientAnnotation;
import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.user.information.UserInformationSearchPageDto;
import com.crm.rely.backend.core.dto.web.information.WebInformationSearchDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.custom.info.InfoEntity;
import com.crm.rely.backend.core.entity.user.information.UserInformationAllReadEntity;
import com.crm.rely.backend.core.entity.user.information.UserInformationReadEntity;
import com.crm.rely.backend.core.entity.user.information.UserInformationSearchPageEntity;
import com.crm.rely.backend.core.entity.web.information.WebInformationAddEntity;
import com.crm.rely.backend.core.entity.web.information.WebInformationDeleteEntity;
import com.crm.rely.backend.core.entity.web.information.WebInformationSearchListEntity;
import com.crm.rely.backend.core.entity.web.information.WebInformationUpdateEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(name = "ACTIVITY-SERVICE", path = "/user/information/manager")
public interface UserInformationFeignService {

    @PostMapping("/search/list")
    ResultWithPagerDto<UserInformationSearchPageDto> searchList( UserInformationSearchPageEntity entity) throws Exception;

    @PostMapping("/search/single")
     BaseResultDto searchSingle(UserInformationReadEntity entity) throws Exception ;

    @PostMapping("/all/read")
     BaseResultDto allRead(UserInformationAllReadEntity entity) throws Exception;

}
