首页>代码>s2sh高仿百度文库实现文档在线预览>/仿百度文库实现文档在线预览/onlineView/src/com/eda/test/action/model/FileModel.java
package com.eda.test.action.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.eda.test.entity.File;

/**
 * 
 * @author       Lanxiaowei
 * @createTime   2012-6-22 下午05:04:41
 */
public class FileModel implements Serializable{
	/**主键ID*/
	private Long id;
	/**文件名*/
	private String fileName;
	/**文件原始路径*/
	private String orignalPath;
	/**文件服务器路径*/
	private String distPath;
	/**文件大小(KB)*/
	private Long fileSize;
	/**文件类型*/
	private String fileType;
	/**文件描述*/
	private String description;
	/**上传时间*/
	private Date uploadDate;
	
	/**供页面展示的文件集合*/
	private List<File> fileList;
	
	
	private java.io.File doc;
	
	private String docFileName;
	
	private String docContentType;
	
	/**服务器端生成SWF文件路径*/
	private String swfFilePath;
	
	private File file;
	
	/**提示信息*/
	private String message;

	// 定义该Action允许上传的文件类型   
    private String allowTypes; 
    /**最大上传文件大小(单位:KB)*/
    private long maxUploadSize;
    
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getOrignalPath() {
		return orignalPath;
	}

	public void setOrignalPath(String orignalPath) {
		this.orignalPath = orignalPath;
	}

	public String getDistPath() {
		return distPath;
	}

	public void setDistPath(String distPath) {
		this.distPath = distPath;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Date uploadDate) {
		this.uploadDate = uploadDate;
	}

	public List<File> getFileList() {
		return fileList;
	}

	public void setFileList(List<File> fileList) {
		this.fileList = fileList;
	}

	public java.io.File getDoc() {
		return doc;
	}

	public void setDoc(java.io.File doc) {
		this.doc = doc;
	}

	public String getDocFileName() {
		return docFileName;
	}

	public void setDocFileName(String docFileName) {
		this.docFileName = docFileName;
	}

	public String getDocContentType() {
		return docContentType;
	}

	public void setDocContentType(String docContentType) {
		this.docContentType = docContentType;
	}

	public String getSwfFilePath() {
		return swfFilePath;
	}

	public void setSwfFilePath(String swfFilePath) {
		this.swfFilePath = swfFilePath;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getAllowTypes() {
		return allowTypes;
	}

	public void setAllowTypes(String allowTypes) {
		this.allowTypes = allowTypes;
	}

	public long getMaxUploadSize() {
		return maxUploadSize;
	}

	public void setMaxUploadSize(long maxUploadSize) {
		this.maxUploadSize = maxUploadSize;
	}

	public FileModel(){}
}
最近下载更多
东北虎啸  LV3 2023年2月22日
49202046  LV7 2022年8月2日
Comedian  LV3 2022年7月19日
dududufeidad  LV9 2021年10月27日
yiyun0014  LV4 2021年5月7日
and123456  LV11 2021年4月20日
幻羽揚  LV4 2021年1月3日
2235140624  LV17 2020年11月24日
liujun0104  LV5 2020年11月8日
fjx1996820  LV5 2020年8月17日
最近浏览更多
asdfg01234  LV10 1月10日
3334004690  LV11 2024年6月24日
小王wang  LV10 2024年2月29日
lyj001 2023年10月24日
暂无贡献等级
xshxxm1  LV21 2023年3月28日
小新Coding  LV9 2023年3月8日
东北虎啸  LV3 2023年2月22日
kehehee2 2023年2月2日
暂无贡献等级
zeus123 2022年10月26日
暂无贡献等级
暂无贡献等级
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友