package com.vci.properties;
|
|
import com.vci.enumpck.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 + '\'' + '}';
|
}
|
}
|