【7.0.3】完善mongodb实体类注释

pull/10/head
huziyang 2021-04-14 09:56:14 +08:00
parent d34881696a
commit 2724c786bb
1 changed files with 28 additions and 1 deletions

View File

@ -45,17 +45,44 @@ import java.util.Date;
@Document("mongo_file") @Document("mongo_file")
public class MongoFileEntity extends BaseRequest { public class MongoFileEntity extends BaseRequest {
/**
* id
*/
@Id @Id
private String id; private String id;
/**
*
*/
private String name; private String name;
/**
*
*/
private Date uploadDate; private Date uploadDate;
/**
*
*/
private Long uploadUserId; private Long uploadUserId;
/**
*
*/
private String suffix; private String suffix;
/**
*
*/
private String description; private String description;
/**
* Mongodb GridFS fs.files
*/
private String gridfsId; private String gridfsId;
/** /**
* *
*/ */
private byte[] content; private byte[] content;