package ru.mtusi.messenger.config.properties; import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = "app.rate") public record RateLimitProperties(int ratePerMinute, int retryAfterSeconds) {}