You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
2.2 KiB
119 lines
2.2 KiB
package cn.com.v2.model;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* <p>
|
|
*
|
|
* </p>
|
|
*
|
|
* @author fc
|
|
* @since 2022-12-22
|
|
*/
|
|
@TableName("t_sys_file")
|
|
public class SysFile implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId(value = "id", type = IdType.INPUT)
|
|
private String id;
|
|
|
|
private String fileName;
|
|
|
|
private Integer fileSize;
|
|
|
|
private String fileSuffix;
|
|
|
|
/**
|
|
* 虚拟路径
|
|
*/
|
|
private String virtualKey;
|
|
|
|
/**
|
|
* 相对路径
|
|
*/
|
|
private String relativePath;
|
|
|
|
/**
|
|
* 绝对路径
|
|
*/
|
|
private String absolutePath;
|
|
|
|
|
|
@TableField(fill = FieldFill.INSERT)
|
|
private String createTime;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getFileName() {
|
|
return fileName;
|
|
}
|
|
|
|
public void setFileName(String fileName) {
|
|
this.fileName = fileName;
|
|
}
|
|
|
|
public Integer getFileSize() {
|
|
return fileSize;
|
|
}
|
|
|
|
public void setFileSize(Integer fileSize) {
|
|
this.fileSize = fileSize;
|
|
}
|
|
|
|
public String getFileSuffix() {
|
|
return fileSuffix;
|
|
}
|
|
|
|
public void setFileSuffix(String fileSuffix) {
|
|
this.fileSuffix = fileSuffix;
|
|
}
|
|
|
|
public String getCreateTime() {
|
|
return createTime;
|
|
}
|
|
|
|
public void setCreateTime(String createTime) {
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
|
|
public String getVirtualKey() {
|
|
return virtualKey;
|
|
}
|
|
|
|
public void setVirtualKey(String virtualKey) {
|
|
this.virtualKey = virtualKey;
|
|
}
|
|
|
|
public String getAbsolutePath() {
|
|
return absolutePath;
|
|
}
|
|
|
|
public void setAbsolutePath(String absolutePath) {
|
|
this.absolutePath = absolutePath;
|
|
}
|
|
|
|
public String getRelativePath() {
|
|
return relativePath;
|
|
}
|
|
|
|
public void setRelativePath(String relativePath) {
|
|
this.relativePath = relativePath;
|
|
}
|
|
|
|
|
|
}
|