DataToolsProperties.java
1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package com.bsth.service.schedule.utils;
import org.springframework.boot.context.properties.ConfigurationProperties;
import javax.validation.constraints.NotNull;
/**
* 配置数据导入导出用到的配置信息
*/
@ConfigurationProperties(
locations = "classpath:datatools/config.properties",
ignoreInvalidFields = true,
prefix = "datatools"
)
public class DataToolsProperties {
/** 上传文件目录配置(根据不同的环境需要修正) */
@NotNull
private String fileuploadDir;
/** ktr转换文件,中配置的错误输出目录(根据不同的环境需要修正) */
@NotNull
private String transErrordir;
/** 测试temp的ktr转换文件 */
@NotNull
private String tempDatainputktr;
public String getFileuploadDir() {
return fileuploadDir;
}
public void setFileuploadDir(String fileuploadDir) {
this.fileuploadDir = fileuploadDir;
}
public String getTransErrordir() {
return transErrordir;
}
public void setTransErrordir(String transErrordir) {
this.transErrordir = transErrordir;
}
public String getTempDatainputktr() {
return tempDatainputktr;
}
public void setTempDatainputktr(String tempDatainputktr) {
this.tempDatainputktr = tempDatainputktr;
}
}