64 lines
838 B
Java
64 lines
838 B
Java
package com.lovenav.entity;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 附件表
|
|
* ln_attachment
|
|
*/
|
|
@Data
|
|
public class Attachment implements Serializable {
|
|
/**
|
|
* id
|
|
*/
|
|
private Long id;
|
|
|
|
/**
|
|
* 路径
|
|
*/
|
|
private String path;
|
|
|
|
/**
|
|
* 后缀
|
|
*/
|
|
private String suffix;
|
|
|
|
/**
|
|
* 文件名
|
|
*/
|
|
private String fileName;
|
|
|
|
/**
|
|
* 大小
|
|
*/
|
|
private Double size;
|
|
|
|
/**
|
|
* md5
|
|
*/
|
|
private String md5;
|
|
|
|
/**
|
|
* 宽
|
|
*/
|
|
private Double width;
|
|
|
|
/**
|
|
* 高
|
|
*/
|
|
private Double height;
|
|
|
|
/**
|
|
* 保存地址 local=本地
|
|
*/
|
|
private Object storage;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createtime;
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
} |