package com.hdkj.lt.core.config;

import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

@Configuration
@RefreshScope
@Setter
@ConfigurationProperties("lt.task.cache")
public class MyApplicationConfig {

    private boolean hasTaskDetailJob;

    public boolean getHasTaskDetailJob() {
        return hasTaskDetailJob;
    }

}
