PlanConfigProperties.java
711 Bytes
package com.bsth.service.schedule.plan;
import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.validation.constraints.NotNull;
/**
* 排班计划相关配置文件。
*/
@ConfigurationProperties(
locations = "classpath:drools/config.properties",
ignoreInvalidFields = true,
prefix = "drools.KBase"
)
public class PlanConfigProperties {
/** 排班前置验证规则(时刻表)*/
@NotNull
private String validateTimetable;
public String getValidateTimetable() {
return validateTimetable;
}
public void setValidateTimetable(String validateTimetable) {
this.validateTimetable = validateTimetable;
}
}