75 lines
1.4 KiB
Java
75 lines
1.4 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.math.BigDecimal;
|
||
import java.util.Date;
|
||
|
||
@Data
|
||
@TableName("training_class")
|
||
public class TrainingClass {
|
||
|
||
@TableId
|
||
private Integer id;
|
||
|
||
//标题
|
||
private String title;
|
||
|
||
//描述
|
||
private String des;
|
||
|
||
//类型 1线上2线下
|
||
private String type;
|
||
|
||
//年份
|
||
private String year;
|
||
|
||
//培训日期
|
||
private String trainingDate;
|
||
|
||
//详情图片
|
||
private String icon;
|
||
|
||
//报名开关 0可报名1不可报名
|
||
private Integer singupFlag;
|
||
|
||
//费用
|
||
private BigDecimal fee;
|
||
|
||
//可以用vip价格的VIP类型
|
||
private String vipType;
|
||
|
||
//vip费用
|
||
private BigDecimal vipFee;
|
||
|
||
//可以用svip价格的sVIP类型
|
||
private String svipType;
|
||
|
||
//svip费用
|
||
private BigDecimal svipFee;
|
||
|
||
//三星湖粉费用(90湖分以上)
|
||
private BigDecimal threeHuFee;
|
||
|
||
//五星湖粉费用(150湖分以上)
|
||
private BigDecimal fiveHuFee;
|
||
|
||
//学生费用
|
||
private BigDecimal studentFee;
|
||
|
||
//排序
|
||
private Integer sort;
|
||
|
||
private Date createTime;
|
||
|
||
@TableLogic
|
||
private Integer delFlag;
|
||
|
||
@TableField(exist = false)
|
||
private int isJoin;
|
||
|
||
}
|