Merge remote-tracking branch 'origin/zcc'

This commit is contained in:
wangjinlei
2024-06-13 13:21:53 +08:00
9 changed files with 132 additions and 5 deletions

View File

@@ -32,8 +32,6 @@ public class CourseGuestbook {
private String images;
private Integer support;
private Integer state;
private Date createTime;
@@ -41,6 +39,10 @@ public class CourseGuestbook {
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private boolean support;
@TableField(exist = false)
private int supportCount;
@TableField(exist = false)
private List<CourseGuestbook> children;
@TableField(exist = false)

View File

@@ -0,0 +1,21 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("course_guestbook_support")
public class CourseGuestbookSupport {
@TableId
private Integer id;
private Integer userId;
private Integer guestbookId;
@TableLogic
private Integer delFlag;
}