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.
45 lines
912 B
Java
45 lines
912 B
Java
1 year ago
|
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.util.Arrays;
|
||
|
import lombok.Data;
|
||
|
|
||
|
/**
|
||
|
* 通用资源定义 最大存储 16MB(16,777,215字节)
|
||
|
* @TableName ge_bytearray
|
||
|
*/
|
||
|
@TableName(value ="ge_bytearray")
|
||
|
@Data
|
||
|
public class GeBytearray implements Serializable {
|
||
|
/**
|
||
|
* 主键
|
||
|
*/
|
||
|
private String id;
|
||
|
|
||
|
/**
|
||
|
* 文件名
|
||
|
*/
|
||
|
private String fileName;
|
||
|
|
||
|
/**
|
||
|
* 文件大小
|
||
|
*/
|
||
|
private Integer fileSize;
|
||
|
|
||
|
/**
|
||
|
* 文件类型
|
||
|
*/
|
||
|
private String fileType;
|
||
|
|
||
|
/**
|
||
|
* 二进制内容数据
|
||
|
*/
|
||
|
private byte[] content;
|
||
|
|
||
|
@TableField(exist = false)
|
||
|
private static final long serialVersionUID = 1L;
|
||
|
}
|