package com.ruoyi.project.system.attachment.domain; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.framework.web.domain.BaseEntity; /** * 附件对象 sys_attachment * * @author wm * @date 2020-12-14 */ public class Attachment extends BaseEntity { private static final long serialVersionUID = 1L; /** id */ private Long attachmentId; /** 创建人id */ private Long createUserId; /** 更新者id */ private Long updateUserId; /** 附件路径 */ @Excel(name = "附件路径") private String filePath; /** 原始附件名称 */ @Excel(name = "原始附件名称") private String originalFileName; /** 附件类型 */ @Excel(name = "附件类型") private Integer attachmentType; /** 附件关联id */ @Excel(name = "附件关联id") private Long fileJoinId; /** 附件所属公司 */ @Excel(name = "附件所属公司") private Long companyId; /** 文件类型 */ @Excel(name = "文件类型") private Integer fileType; public void setAttachmentId(Long attachmentId) { this.attachmentId = attachmentId; } public Long getAttachmentId() { return attachmentId; } public void setCreateUserId(Long createUserId) { this.createUserId = createUserId; } public Long getCreateUserId() { return createUserId; } public void setUpdateUserId(Long updateUserId) { this.updateUserId = updateUserId; } public Long getUpdateUserId() { return updateUserId; } public void setFilePath(String filePath) { this.filePath = filePath; } public String getFilePath() { return filePath; } public void setOriginalFileName(String originalFileName) { this.originalFileName = originalFileName; } public String getOriginalFileName() { return originalFileName; } public void setAttachmentType(Integer attachmentType) { this.attachmentType = attachmentType; } public Integer getAttachmentType() { return attachmentType; } public void setFileJoinId(Long fileJoinId) { this.fileJoinId = fileJoinId; } public Long getFileJoinId() { return fileJoinId; } public void setCompanyId(Long companyId) { this.companyId = companyId; } public Long getCompanyId() { return companyId; } public void setFileType(Integer fileType) { this.fileType = fileType; } public Integer getFileType() { return fileType; } @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) .append("attachmentId", getAttachmentId()) .append("createBy", getCreateBy()) .append("createUserId", getCreateUserId()) .append("createTime", getCreateTime()) .append("updateBy", getUpdateBy()) .append("updateUserId", getUpdateUserId()) .append("updateTime", getUpdateTime()) .append("remark", getRemark()) .append("filePath", getFilePath()) .append("originalFileName", getOriginalFileName()) .append("attachmentType", getAttachmentType()) .append("fileJoinId", getFileJoinId()) .append("companyId", getCompanyId()) .append("fileType", getFileType()) .toString(); } }