You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ForestBlog/src/java/entity/Comment.java

55 lines
956 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.liuyanzhao.ssm.blog.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 文章评论
*
* @author liuyanzhao
*/
@Data
public class Comment implements Serializable {
private static final long serialVersionUID = -1038897351672911219L;
private Integer commentId;
private Integer commentPid;
private String commentPname;
private Integer commentArticleId;
private String commentAuthorName;
private String commentAuthorEmail;
private String commentAuthorUrl;
private String commentAuthorAvatar;
private String commentContent;
private String commentAgent;
private String commentIp;
private Date commentCreateTime;
/**
* 角色(管理员1访客0)
*/
private Integer commentRole;
/**
* 评论用户ID
*/
private Integer commentUserId;
/**
* 非数据库字段
*/
private Article article;
}