package com.ruoyi.system.domain;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* 任务附件对象 sys_task_attachment
|
*
|
* @author ruoyi
|
* @date 2024-01-15
|
*/
|
public class SysTaskAttachment extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/** 附件ID */
|
private Long attachmentId;
|
|
/** 任务ID */
|
@Excel(name = "任务ID")
|
private Long taskId;
|
|
/** 文件名 */
|
@Excel(name = "文件名")
|
private String fileName;
|
|
/** 文件路径 */
|
@Excel(name = "文件路径")
|
private String filePath;
|
|
/** 文件大小(字节) */
|
@Excel(name = "文件大小")
|
private Long fileSize;
|
|
/** 文件类型 */
|
@Excel(name = "文件类型")
|
private String fileType;
|
|
/** 上传时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date uploadTime;
|
|
/** 上传者 */
|
@Excel(name = "上传者")
|
private String uploadBy;
|
|
public void setAttachmentId(Long attachmentId) {
|
this.attachmentId = attachmentId;
|
}
|
|
public Long getAttachmentId() {
|
return attachmentId;
|
}
|
|
public void setTaskId(Long taskId) {
|
this.taskId = taskId;
|
}
|
|
public Long getTaskId() {
|
return taskId;
|
}
|
|
public void setFileName(String fileName) {
|
this.fileName = fileName;
|
}
|
|
public String getFileName() {
|
return fileName;
|
}
|
|
public void setFilePath(String filePath) {
|
this.filePath = filePath;
|
}
|
|
public String getFilePath() {
|
return filePath;
|
}
|
|
public void setFileSize(Long fileSize) {
|
this.fileSize = fileSize;
|
}
|
|
public Long getFileSize() {
|
return fileSize;
|
}
|
|
public void setFileType(String fileType) {
|
this.fileType = fileType;
|
}
|
|
public String getFileType() {
|
return fileType;
|
}
|
|
public void setUploadTime(Date uploadTime) {
|
this.uploadTime = uploadTime;
|
}
|
|
public Date getUploadTime() {
|
return uploadTime;
|
}
|
|
public void setUploadBy(String uploadBy) {
|
this.uploadBy = uploadBy;
|
}
|
|
public String getUploadBy() {
|
return uploadBy;
|
}
|
|
@Override
|
public String toString() {
|
return "SysTaskAttachment{" +
|
"attachmentId=" + attachmentId +
|
", taskId=" + taskId +
|
", fileName='" + fileName + '\'' +
|
", filePath='" + filePath + '\'' +
|
", fileSize=" + fileSize +
|
", fileType='" + fileType + '\'' +
|
", uploadTime=" + uploadTime +
|
", uploadBy='" + uploadBy + '\'' +
|
'}';
|
}
|
}
|