Merge remote-tracking branch 'origin/zcc'
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user