ludc
2025-01-16 986aa62ed00bee39363bab41b4eeb8259d446efd
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
package com.vci.properties;
 
import com.vci.enumpck.UI.VciFileTransProtocolEnum;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
/**
 * @author ludc
 * @date 2024/7/16 14:49
 */
@Configuration
@ConfigurationProperties(
        prefix = "vci.file"
)
public class VciFileTransProperties {
    private VciFileTransProtocolEnum transProtocal;
    private String checkTableExist;
    private String zipCharset = "GBK";
 
    public VciFileTransProperties() {
    }
 
    public VciFileTransProtocolEnum getTransProtocal() {
        return this.transProtocal;
    }
 
    public void setTransProtocal(VciFileTransProtocolEnum transProtocal) {
        this.transProtocal = transProtocal;
    }
 
    public String getCheckTableExist() {
        return this.checkTableExist;
    }
 
    public void setCheckTableExist(String checkTableExist) {
        this.checkTableExist = checkTableExist;
    }
 
    public String getZipCharset() {
        return this.zipCharset;
    }
 
    public void setZipCharset(String zipCharset) {
        this.zipCharset = zipCharset;
    }
 
    public String toString() {
        return "VciFileTransProperties{transProtocal=" + this.transProtocal + ", checkTableExist='" + this.checkTableExist + '\'' + ", zipCharset='" + this.zipCharset + '\'' + '}';
    }
}