package com.erp.ai.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.time.Duration;

@Data
@Configuration
@ConfigurationProperties(prefix = "openclaw")
public class OpenClawProperties {
    private boolean enabled = false;
    private String gatewayUrl = "http://localhost:18789";
    private Duration timeout = Duration.ofSeconds(60);
    private Duration healthCheckInterval = Duration.ofSeconds(30);
}
