52 lines
1.1 KiB
Java
52 lines
1.1 KiB
Java
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")
|
|
public class CourseEntity {
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
private String uid;
|
|
|
|
private String title;
|
|
|
|
private Integer sort;
|
|
|
|
private String image;
|
|
|
|
private String content;
|
|
|
|
private String relationProductIds;
|
|
|
|
private Date createTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
@TableField(exist = false)
|
|
private List<CourseCatalogueEntity> courseCatalogueEntityList;
|
|
@TableField(exist = false)
|
|
private Integer bindId;
|
|
@TableField(exist = false)
|
|
private Date endTime;
|
|
@TableField(exist = false)
|
|
private Integer toSociologySort;
|
|
@TableField(exist = false)
|
|
private Integer level;
|
|
@TableField(exist = false)
|
|
private Integer selective;
|
|
@TableField(exist = false)
|
|
private boolean isBuy;
|
|
}
|