fjl
fujunling
2023-07-26 145aca4ce40cbdb14f940975da44db63eb5c497f
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
53
54
55
56
57
58
59
60
61
62
63
package com.vci.ubcs.file.properties;
 
import com.vci.ubcs.file.enumpck.VciFileTransProtocolEnum;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * 上传下载
 * @author weidy
 * @date 2020/3/11
 */
@Configuration
@ConfigurationProperties(prefix = "vci.file")
public class VciFileTransProperties {
 
    /**
     * 传输协议
     */
    private VciFileTransProtocolEnum transProtocal;
 
    /**
     * 是否检查数据库表
     */
    private String checkTableExist;
 
    /**
     * 压缩包的格式
     */
    private String zipCharset = "GBK";
 
    public VciFileTransProtocolEnum getTransProtocal() {
        return transProtocal;
    }
 
    public void setTransProtocal(VciFileTransProtocolEnum transProtocal) {
        this.transProtocal = transProtocal;
    }
 
    public String getCheckTableExist() {
        return checkTableExist;
    }
 
    public void setCheckTableExist(String checkTableExist) {
        this.checkTableExist = checkTableExist;
    }
 
    public String getZipCharset() {
        return zipCharset;
    }
 
    public void setZipCharset(String zipCharset) {
        this.zipCharset = zipCharset;
    }
 
    @Override
    public String toString() {
        return "VciFileTransProperties{" +
            "transProtocal=" + transProtocal +
            ", checkTableExist='" + checkTableExist + '\'' +
            ", zipCharset='" + zipCharset + '\'' +
            '}';
    }
}