package com.dsh.course.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 用户课程包购买记录
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-06-14
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_course_package_payment")
|
public class TCoursePackagePayment {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
private Integer appUserId;
|
/**
|
* 学员id
|
*/
|
private Integer studentId;
|
/**
|
* 课包id
|
*/
|
private Integer coursePackageId;
|
/**
|
* 支付方式(1=现金,2=玩湃币)
|
*/
|
private Integer payType;
|
/**
|
* 课时数
|
*/
|
private Integer classHours;
|
/**
|
* 现金支付价格
|
*/
|
private BigDecimal cashPayment;
|
/**
|
* 玩湃币价格
|
*/
|
private Integer playPaiCoin;
|
/**
|
* 总课时
|
*/
|
private Integer totalClassHours;
|
/**
|
* 剩余课时
|
*/
|
private Integer laveClassHours;
|
/**
|
* 缺课次数
|
*/
|
private Integer absencesNumber;
|
/**
|
* 支付用户类型(1=用户,2=管理员)
|
*/
|
private Integer payUserType;
|
/**
|
* 支付状态(1=待支付,2=已支付)
|
*/
|
private Integer payStatus;
|
/**
|
* 第三方支付流水号
|
*/
|
private String orderNumber;
|
/**
|
* 支付用户id
|
*/
|
private Integer payUserId;
|
/**
|
* 课程状态(1=正常,2=已退课)
|
*/
|
private Integer status;
|
/**
|
* 退课时间
|
*/
|
private Date withdrawalTime;
|
/**
|
* 退课凭证
|
*/
|
private String certificate;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date insertTime;
|
|
}
|