47 lines
919 B
Java
47 lines
919 B
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("vip_buy_config")
|
|
public class VipBuyConfigEntity {
|
|
@TableId
|
|
private Integer id;
|
|
|
|
/**
|
|
* 1超级vip2医学vip3国学vip
|
|
*/
|
|
private Integer type;
|
|
|
|
private String title;
|
|
|
|
private Integer year;
|
|
|
|
private BigDecimal fee;
|
|
|
|
private BigDecimal rebateFee;
|
|
|
|
private Integer dateType;
|
|
|
|
private Date startTime;
|
|
|
|
private Date endTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
/**
|
|
* 最终价格,后台算好个人的价格后返给前端
|
|
*/
|
|
@TableField(exist = false)
|
|
private BigDecimal lastFee;
|
|
|
|
}
|