文件模块初步完成

This commit is contained in:
2025-05-06 19:15:01 +08:00
parent 2eb5ee1207
commit e1458e937b
21 changed files with 763 additions and 24 deletions

View File

@ -0,0 +1,71 @@
package com.greenorange.promotion.model.entity;
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;
import java.util.Date;
import lombok.Data;
/**
* 文件上传列表
* @TableName file_info
*/
@TableName(value ="file_info")
@Data
public class FileInfo implements Serializable {
/**
* 文件ID
*/
@TableId(type = IdType.AUTO)
private Long id;
/**
* 文件名
*/
private String name;
/**
* 文件类型
*/
private String type;
/**
* 文件路径
*/
private String path;
/**
* 文件大小(KB)
*/
private Double size;
/**
* 文件view值
*/
private String fileView;
/**
* 文件业务类型(头像,项目,富文本,默认)
*/
private String biz;
/**
* 是否删除
*/
private Integer isDelete;
/**
* 创建时间
*/
private Date createTime;
/**
* 更新时间
*/
private Date updateTime;
@TableField(exist = false)
private static final long serialVersionUID = 1L;
}