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 + '\'' +
|
'}';
|
}
|
}
|