实体层,dao层基本创建
This commit is contained in:
63
src/main/java/com/lovenav/entity/Attachment.java
Normal file
63
src/main/java/com/lovenav/entity/Attachment.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package com.lovenav.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
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 Integer createtime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
Reference in New Issue
Block a user