心灵空间标签实体

This commit is contained in:
wuchunlei
2025-02-06 14:26:08 +08:00
parent e0da11c5bf
commit d8e7c90c01
32 changed files with 561 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
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;
import lombok.Data;
import java.util.Date;
import java.util.List;
@Data
@TableName("course_psyche")
public class CoursePsyche {
@TableId
private Integer id;
private Integer pid;
private Integer isLast;
private String title;
private Integer sort;
private String icon;
private String content;
private String media;
//0空1视频2音频
private Integer mediaType;
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<CoursePsyche> children;
@TableField(exist = false)
private List<CourseEntity> courseList;
}

View File

@@ -0,0 +1,33 @@
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;
import lombok.Data;
import java.util.Date;
import java.util.List;
@Data
@TableName("course_psyche_market")
public class CoursePsycheMarket {
@TableId
private Integer id;
private Integer pid;
private Integer isLast;
private String title;
private Integer sort;
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<CoursePsycheMarket> children;
}

View File

@@ -0,0 +1,31 @@
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;
import java.util.Date;
@Data
@TableName("course_to_psyche")
public class CourseToPsyche {
@TableId
private Integer id;
private Integer courseId;
private Integer psycheId;
private Integer sort;
//0隐藏1初级2高级
private Integer level;
//0隐藏1必修2选修
private Integer selective;
private Date createTime;
@TableLogic
private Integer delFlag;
}

View File

@@ -0,0 +1,35 @@
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;
import lombok.Data;
import java.util.Date;
@Data
@TableName("course_to_psyche_market")
public class CourseToPsycheMarket {
@TableId
private Integer id;
private Integer courseId;
private Integer psycheMarketId;
private Integer sort;
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private CoursePsycheMarket coursePsycheMarket;
@TableField(exist = false)
private CourseEntity courseEntity;
}

View File

@@ -0,0 +1,53 @@
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;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@TableName("shop_product_psyche_label")
public class ShopProductPsycheLabel implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 父id
*/
private Integer pid;
/**
* 标题
*/
private String title;
/**
* 0否1是
*/
private Integer isLast;
/**
* 权重
*/
private Integer sort;
/**
* 创建时间
*/
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<ShopProductPsycheLabel> children;
@TableField(exist = false)
private boolean select;
}

View File

@@ -0,0 +1,53 @@
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;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@TableName("shop_product_psyche_market")
public class ShopProductPsycheMarket implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
/**
* 父id
*/
private Integer pid;
/**
* 标题
*/
private String title;
/**
* 0否1是
*/
private Integer isLast;
/**
* 权重
*/
private Integer sort;
/**
* 创建时间
*/
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<ShopProductPsycheMarket> children;
@TableField(exist = false)
private boolean select;
}

View File

@@ -0,0 +1,39 @@
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;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("shop_product_to_psyche_label")
public class ShopProductToPsycheLabel implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
private Integer productId;
private Integer psycheLabelId;
/**
* 创建时间
*/
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private ShopProduct product;
@TableField(exist = false)
private ShopProductPsycheLabel label;
}

View File

@@ -0,0 +1,41 @@
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;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@Data
@TableName("shop_product_to_psyche_market")
public class ShopProductToPsycheMarket implements Serializable {
private static final long serialVersionUID = 1L;
@TableId
private Integer id;
private Integer productId;
private Integer psycheMarketId;
/**
* 创建时间
*/
private Date createTime;
private Integer sort;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private ShopProduct product;
@TableField(exist = false)
private ShopProductPsycheMarket market;
}