package com.ruoyi.file.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
import lombok.Data;
|
import org.springframework.data.annotation.Id;
|
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* @email 1603559716@qq.com
|
* @author: zf
|
* @date: 2023/5/6
|
* @time: 14:54
|
*/
|
@Data
|
@TableName("attachment")
|
public class AttachmentInfo {
|
@Id
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
//文件标识
|
private String fileKey;
|
//文件本地址
|
private String filePath;
|
//文件访问路径
|
private String fileUrl;
|
//文件名称
|
private String fileName;
|
//文件后缀
|
private String fileSuffix;
|
//文件描述
|
private String fileDesc;
|
//文件大小
|
private Long fileSize;
|
//文件类型
|
private String fileType;
|
//模块
|
private String module;
|
//删除标识 0-未删除,1-删除
|
private Integer delFlag;
|
//业务id
|
private Long businessId;
|
|
/** 创建者 */
|
private String createBy;
|
|
/** 创建时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/** 更新者 */
|
private String updateBy;
|
|
/** 更新时间 */
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
private String remark;
|
|
}
|