package top.lejings.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/*
* 评论实体类和DTO
*
* */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comments {
    private Integer comment_id;
    private Integer post_id;
    private String post_title;
    private Integer user_id;
    private String content;
    private String username;
    private String token;//可以为空，为空则为游客
    private LocalDateTime updated_at;
}
