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

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

/**
 * Yomi游戏配置
 */
@Data
@Component
@ConfigurationProperties(prefix = "yomi")
public class YomiConfig {
    
    /**
     * AES加密密钥
     */
    private String aesKey;
    
    /**
     * Token过期时间(秒) 默认24小时
     */
    private Integer tokenExpireSeconds = 86400;
}