66 lines
1.4 KiB
Java
66 lines
1.4 KiB
Java
package com.ruoyi.test.domain;
|
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
/**
|
|
* 文件信息对象 sys_file_info
|
|
*
|
|
* @author box
|
|
* @date 2021-05-06
|
|
*/
|
|
public class SysFileInfo extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 文件id */
|
|
private Long fileId;
|
|
|
|
/** 文件名称 */
|
|
@Excel(name = "文件名称")
|
|
private String fileName;
|
|
|
|
/** 文件路径 */
|
|
@Excel(name = "文件路径")
|
|
private String filePath;
|
|
|
|
public void setFileId(Long fileId)
|
|
{
|
|
this.fileId = fileId;
|
|
}
|
|
|
|
public Long getFileId()
|
|
{
|
|
return fileId;
|
|
}
|
|
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;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("fileId", getFileId())
|
|
.append("fileName", getFileName())
|
|
.append("filePath", getFilePath())
|
|
.toString();
|
|
}
|
|
}
|