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

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 支付厂商运行配置.
 */
@Data
@Component
@ConfigurationProperties(prefix = "red-circle.pay.factory-config")
public class PayFactoryConfigProperties {

  /**
   * order 运行时读取配置的本地缓存 TTL.
   */
  private Long cacheTtlSeconds = 300L;
}
