package com.fs.lotus.config;

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

/**
 * Lotus open API signature config (override per env; keep secrets out of hardcode).
 */
@Data
@Component
@ConfigurationProperties(prefix = "lotus.signature")
public class LotusSignatureProperties {

    /** app id */
    private String appId;

    /** app secret */
    private String appSecret;

    /** request expire seconds */
    private long expireSeconds;
}
