package com.red.circle.other.infra.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "invite.campaign.go")
public class InviteCampaignGoConfig {

  private boolean enabled = true;

  private String baseUrl;

  private String internalToken;

  private Integer timeoutMillis = 10000;
}
