package com.hotwj.platform.reportStatistics.verify.config;

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

@Data
@Component
@ConfigurationProperties(prefix = "app")
public class AppVerifyProperties {

    private String webBaseUrl;

    private Verify verify = new Verify();

    @Data
    public static class Verify {
        private Boolean enabled = Boolean.TRUE;
        private String secret;
        private Integer ticketExpireDays = 1095;
        private Boolean snapshotMode = Boolean.TRUE;
    }
}

