📄 contractaccessories.java
字号:
package com.szmx.tlms.contractManage.model;
import com.szmx.framework.base.model.VersionObject;
import org.apache.struts.upload.FormFile;
public class ContractAccessories extends VersionObject{
private Long id;
private Long clientID;
private String fileDate;
private String fileSize;
private String fileName;
protected FormFile file;
public ContractAccessories(){}
public FormFile getFile() {
return file;
}
public void setFile(FormFile file) {
this.file = file;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getClientID() {
return clientID;
}
public void setClientID(Long clientID) {
this.clientID = clientID;
}
public String getFileDate() {
return fileDate;
}
public void setFileDate(String fileDate) {
this.fileDate = fileDate;
}
public String getFileSize() {
return fileSize;
}
public void setFileSize(String fileSize) {
this.fileSize = fileSize;
}
/**
* The value of the text the user has sent as form data
*/
protected String theText;
/**
* The value of the embedded query string parameter
*/
protected String queryParam;
/**
* Whether or not to write to a file
*/
protected boolean writeFile;
/**
* The file that the user has uploaded
*/
protected FormFile theFile;
/**
* The file path to write to
*/
protected String filePath;
/**
* Retrieve the value of the text the user has sent as form data
*/
public String getTheText() {
return theText;
}
/**
* Set the value of the form data text
*/
public void setTheText(String theText) {
this.theText = theText;
}
/**
* Retrieve the value of the query string parameter
*/
public String getQueryParam() {
return queryParam;
}
/**
* Set the value of the query string parameter
*/
public void setQueryParam(String queryParam) {
this.queryParam = queryParam;
}
/**
* Retrieve a representation of the file the user has uploaded
*/
public FormFile getTheFile() {
return theFile;
}
/**
* Set a representation of the file the user has uploaded
*/
public void setTheFile(FormFile theFile) {
this.theFile = theFile;
}
/**
* Set whether or not to write to a file
*/
public void setWriteFile(boolean writeFile) {
this.writeFile = writeFile;
}
/**
* Get whether or not to write to a file
*/
public boolean getWriteFile() {
return writeFile;
}
/**
* Set the path to write a file to
*/
public void setFilePath(String filePath) {
this.filePath = filePath;
}
/**
* Get the path to write a file to
*/
public String getFilePath() {
return filePath;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -