package com.its.op.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

@Slf4j
@Getter
@Setter
@ToString
@Configuration
@ConfigurationProperties(prefix = "application.job-schedule")
public class JobConfig {

    private boolean cctvPreset = false;
    private boolean baseDbms = false;
    private boolean fcltStts = false;
    private boolean unitStts = false;
    private boolean dbSvrStts = true;

    @PostConstruct
    private void init() {
        log.info("{}", this);
    }
}
