You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.3 KiB
Java
67 lines
1.3 KiB
Java
package com.supervision.model;
|
|
|
|
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.time.LocalDateTime;
|
|
|
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 存储资源信息,文件、图片、视频
|
|
* @TableName vp_file_resource
|
|
*/
|
|
@TableName(value ="vp_file_resource")
|
|
@Data
|
|
public class FileResource extends Model<FileResource> implements Serializable {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
private String id;
|
|
|
|
/**
|
|
* 文件资源id
|
|
*/
|
|
private String minioId;
|
|
|
|
/**
|
|
* 文件名称
|
|
*/
|
|
private String fileName;
|
|
|
|
/**
|
|
* 文件类型
|
|
*/
|
|
private String fileType;
|
|
|
|
/**
|
|
* 文件大小
|
|
*/
|
|
private Integer fileSize;
|
|
|
|
/**
|
|
* 创建人ID
|
|
*/
|
|
private String createUserId;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private LocalDateTime createTime;
|
|
|
|
/**
|
|
* 更新人
|
|
*/
|
|
private String updateUserId;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private LocalDateTime updateTime;
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
} |