package com.bonus.common.security.config;

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

/**
 * @author bonus
 */
@Component
@ConfigurationProperties(prefix = "verification-code")
@Data
public class VerificationCodeConfig {
    /**
     * 主题
     */
    private String title;
    /**
     * 过期时长
     */
    private Long time;
    /**
     * 内容
     */
    private String content;
}
