ecology_maven/weaver/aiyh_pcn/fadada/entity/FileInfo.java

94 lines
1.8 KiB
Java

package weaver.aiyh_pcn.fadada.entity;
import java.io.FileInputStream;
import java.io.InputStream;
/**
* @author EBU7-dev1-ayh
* @create 2021/10/18 0018 11:25
* 文件信息
*/
public class FileInfo {
private int imagefileid;
private String imagefilename;
private String contractExtension;
private String contractTitle;
private String customerNo;
private int uploadType = 1;
InputStream file;
{
this.uploadType = 1;
}
public int getImagefileid() {
return imagefileid;
}
public void setImagefileid(int imagefileid) {
this.imagefileid = imagefileid;
}
public String getImagefilename() {
return imagefilename;
}
public void setImagefilename(String imagefilename) {
this.imagefilename = imagefilename;
}
public String getContractExtension() {
return contractExtension;
}
public void setContractExtension(String contractExtension) {
this.contractExtension = contractExtension;
}
public String getContractTitle() {
return contractTitle;
}
public void setContractTitle(String contractTitle) {
this.contractTitle = contractTitle;
}
public String getCustomerNo() {
return customerNo;
}
public void setCustomerNo(String customerNo) {
this.customerNo = customerNo;
}
public int getUploadType() {
return uploadType;
}
public void setUploadType(int uploadType) {
this.uploadType = uploadType;
}
public InputStream getFile() {
return file;
}
public void setFile(InputStream file) {
this.file = file;
}
@Override
public String toString() {
return "FileInfo{" +
"imagefileid=" + imagefileid +
", imagefilename='" + imagefilename + '\'' +
", contractExtension='" + contractExtension + '\'' +
", contractTitle='" + contractTitle + '\'' +
", customerNo='" + customerNo + '\'' +
", uploadType='" + uploadType + '\'' +
", file=" + file +
'}';
}
}