package com.hdkj.lt.feign;

import com.hdkj.hussar.ApiResponse;
import com.hdkj.lt.base.constants.SystemGlobalConstant;
import com.hdkj.lt.modle.dto.fault.RegenerateFaultRequest;
import com.hdkj.lt.modle.dto.plan.AcceptPlanPowerCutListRequest;
import com.hdkj.lt.modle.dto.plan.PlanCreateSwitchDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author rj
 * @date 2025/9/1 16:16
 * @description
 */
@FeignClient(value = SystemGlobalConstant.SERVICE_NAME_LOAD_TRANSFER_MQ, contextId = "faultCreateClient")
public interface IFaultCreateClient {

    @PostMapping("/feign/regenerateFault")
    ApiResponse<Boolean> regenerateFault(RegenerateFaultRequest planCreateSwitchDTO);

}
