package com.luojia_channel.modules.post.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("comment")
public class Comment {
    private Long id;
    private String content;
    private Long likeCount;
    private Long replyCount;
    private Long userId;
    private Long postId;
    private Long parentCommentId;
    private Long replyUserId;
    private Long topId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
