实体层,dao层基本创建
This commit is contained in:
63
src/main/java/com/lovenav/entity/Comment.java
Normal file
63
src/main/java/com/lovenav/entity/Comment.java
Normal file
@@ -0,0 +1,63 @@
|
||||
package com.lovenav.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* ln_comment
|
||||
*/
|
||||
@Data
|
||||
public class Comment implements Serializable {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 所属url id
|
||||
*/
|
||||
private Integer urlId;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 父评论id
|
||||
*/
|
||||
private Integer rootCommentId;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
private Long likeCount;
|
||||
|
||||
/**
|
||||
* 评论时间
|
||||
*/
|
||||
private Date commentTime;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Byte commentStatus;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 用户评级
|
||||
*/
|
||||
private Integer rating;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
Reference in New Issue
Block a user