package com.bcxin.backend.config;

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

@Data
@Component
@ConfigurationProperties(prefix = "myapps.signature")
public class ScreeningConfigs {

    //是否开启背景筛查
    private Boolean enable;

    //公安内网  api 开启背景筛查必须填写此项  当地公安内网的地址
    private String api;

    //调度任务配置
    private Scheduled scheduled;


    //调度任务配置
    @Data
    public static class Scheduled{

        //文书定时器隔
        private String documenttiming;
        //保安资格证定时器隔
        private String bazgztiming;
        //京通同步定时器隔
        private String jttiming;

    }

}
