JavaWeb_文件上传案例_构建FileUploadBean集合
文件上传案例_构建FileUploadBean集合
- 1.FileUploadBean.java
/**
* All rights Reserved,Designed By XS
* @Title: FileUploadBean.java
* @Package com.xs.fileupload.app.beans
* @Description: TODO
* @author: XS
* @date: 2019年3月21日 下午4:46:51
* @version V1.0
*/
package com.xs.fileupload.app.beans;
import java.math.BigDecimal;
/**
* @ClassName: FileUploadBean
* @Description: TODO
* @author: XS
* @date: 2019年3月21日 下午4:46:51
* @version V1.0
*/
public class FileUploadBean {
private BigDecimal id;
private String fileName;
private String filePath;
private String fileDesc;
/**
* @return the id
*/
public BigDecimal getId() {
return id;
}
/**
* @param id:
* the id to set
*/
public void setId(BigDecimal id) {
this.id = id;
}
/**
* @return the fileName
*/
public String getFileName() {
return fileName;
}
/**
* @param fileName:
* the fileName to set
*/
public void setFileName(String fileName) {
this.fileName = fileName;
}
/**
* @return the fileDesc
*/
public String getFileDesc() {
return fileDesc;
}
/**
* @param fileDesc:
* the fileDesc to set
*/
public void setFileDesc(String fileDesc) {
this.fileDesc = fileDesc;
}
/**
* @return the filePath
*/
public String getFilePath() {
return filePath;
}
/**
* @param filePath:
* the filePath to set
*/
public void setFilePath(String filePath) {
this.filePath = filePath;
}
/**
* @Title: FileUploadBean
* @Description: TODO
* @param fileName
* @param fileDesc
* @param filePath
*/
public FileUploadBean(String fileName, String filePath, String fileDesc) {
super();
this.fileName = fileName;
this