新增课程目录

This commit is contained in:
wangjinlei
2024-03-25 10:59:52 +08:00
parent a5d255ea16
commit 747ea62a36
6 changed files with 66 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
package com.peanut.modules.common.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;
@@ -31,4 +32,10 @@ public class CourseCatalogueEntity{
@TableLogic
private Integer delFlag;
/**
* 是否同步创建商品
*/
@TableField(exist = false)
private Integer needCreate;
}

View File

@@ -129,7 +129,7 @@ public class ShopProduct implements Serializable {
*/
private Integer sumSales;
/**
* 商品类型 01: 画册 02书 04仪器03预售书
* 商品类型01挂图02书籍03预售书04仪器05课程06小店商品
*/
private String goodsType;
private String goodsTypeCode;

View File

@@ -14,6 +14,8 @@ public class ShopProductCourseEntity {
@TableId
private Integer id;
private Integer productId;
private Integer courseId;
private Integer catalogueId;