Files
nuttyreading-java/src/main/java/com/peanut/modules/common/entity/BookTeachCommentEntity.java
wangjinlei 3cef570c97 1
2024-03-15 10:19:03 +08:00

42 lines
932 B
Java

package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import java.util.List;
@Data
@TableName("book_teach_comment")
public class BookTeachCommentEntity {
private static final long serialVersionUID = 1L;
@TableId
@TableField("id")
private Integer id;
@TableField("parent_id")
private Integer parentId;
@TableField(exist = false)
private List<BookTeachCommentEntity> comments;
@TableField("user_id")
private Integer userId;
@TableField(exist = false)
private MyUserEntity user;
@TableField("teach_id")
private Integer teachId;
private String content;
@TableField("create_time")
private Date createTime;
@TableField("del_flag")
private Integer delFlag;
}