com.jcohy.mail.AttachBean Maven / Gradle / Ivy
The newest version!
package com.jcohy.mail;
import java.io.File;
/**
* Copyright : 2015-2033 Beijing
* Created by jiac on 2017/11/11 13:29.
* ClassName : FileSizeHelper
* Description : 附件类,只有文件,即附件才文件名
*/
public class AttachBean {
private String cid;
private File file;
private String fileName;
public String getCid() {
return cid;
}
public void setCid(String cid) {
this.cid = cid;
}
public File getFile() {
return file;
}
public void setFile(File file) {
this.file = file;
}
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public AttachBean() {
}
public AttachBean(File file, String fileName) {
super();
this.file = file;
this.fileName = fileName;
}
}