实体层,dao层基本创建

This commit is contained in:
2023-12-19 14:04:28 +08:00
parent e8a518bd6b
commit 0721107407
54 changed files with 2970 additions and 8 deletions

View 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;
}