Merge remote-tracking branch 'origin/zcc'
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("book_teach_like")
|
||||
public class BookTeachLikeEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableId
|
||||
@TableField("id")
|
||||
private Integer id;
|
||||
|
||||
@TableField("user_id")
|
||||
private Integer userId;
|
||||
|
||||
@TableField("teach_id")
|
||||
private Integer teachId;
|
||||
|
||||
@TableField("del_flag")
|
||||
private Integer delFlag;
|
||||
}
|
||||
Reference in New Issue
Block a user