package com.sandu.common.file;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.sandu.common.object.AbstractDO;
|
import lombok.Data;
|
|
/**
|
* file_storage
|
* @author
|
*/
|
@Data
|
public class FileStorage extends AbstractDO {
|
|
@TableId(type = IdType.INPUT)
|
private Long id;
|
|
/**
|
* 真实名称
|
*/
|
private String realName;
|
|
/**
|
* 文件名称
|
*/
|
private String filePrefix;
|
|
/**
|
* 名称后缀
|
*/
|
private String fileSuffix;
|
|
/**
|
* 文件路径
|
*/
|
private String fileUrl;
|
|
/**
|
* 文件 类型
|
*/
|
private String fileType;
|
|
/**
|
* 存储类型
|
*/
|
private String storageType;
|
|
/**
|
* 文件大小
|
*/
|
private Long fileSize;
|
|
/**
|
* 1:图片,2:视频
|
*/
|
private Integer category;
|
|
/**
|
* 图片高度
|
*/
|
private Integer height;
|
|
/**
|
* 图片宽度
|
*/
|
private Integer width;
|
|
/**
|
* 视频时长,秒
|
*/
|
private Integer duration;
|
|
/**
|
* 操作人
|
*/
|
private String operator;
|
|
}
|