package com.g9.g9backend.pojo; | |
import com.baomidou.mybatisplus.annotation.TableId; | |
import lombok.*; | |
import java.util.Date; | |
/** | |
* Thread 实体类,表示评论的数据模型 | |
* | |
* @author hcy | |
*/ | |
@Data | |
@AllArgsConstructor | |
@NoArgsConstructor | |
public class Thread { | |
@TableId | |
private int threadId; | |
private int userId; | |
private String threadPicture; | |
private String title; | |
private String content; | |
private int likes; | |
private boolean isLike; | |
private Date createAt; | |
private int commentNumber; | |
private int communityId; | |
} |