package com.zcloud.primeport.command.conf;

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 = "ciolation")
public class CiolationProperties {
    // 默认值，防止配置缺失
    private Integer limit = 5;
}
