自动化立体仓库 - WMS系统
chen.llin
18 小时以前 73e42333948a8143c54218cd26435c2233daf279
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.zy.common.properties;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * 定时任务配置属性
 * 
 * @author system
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "scheduler")
public class SchedulerProperties {
 
    /**
     * 定时任务总开关,false时所有定时任务都不会启动
     * 默认值为true,保持向后兼容
     */
    private boolean enabled = true;
 
}