package com.dsh.course.feignClient.course.model;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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
|
public class TCoursePackagePayment extends Model<TCoursePackagePayment>{
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
private Long id;
|
/**
|
* 业务编号
|
*/
|
private String code;
|
/**
|
* 用户id
|
*/
|
private Integer appUserId;
|
/**
|
* 学员id
|
*/
|
private Integer studentId;
|
/**
|
* 课包id
|
*/
|
private Integer coursePackageId;
|
/**
|
* 支付方式(1=微信,2=支付宝,3=玩湃币,4=积分,5=积分+微信,6=积分+支付宝)
|
*/
|
private Integer payType;
|
/**
|
* 课时数
|
*/
|
private Integer classHours;
|
/**
|
* 原价
|
*/
|
private Double originalPrice;
|
/**
|
* 优惠券id
|
*/
|
private Long userCouponId;
|
/**
|
* 现金支付价格
|
*/
|
private BigDecimal cashPayment;
|
/**
|
* 玩湃币价格/积分
|
*/
|
private Integer playPaiCoin;
|
/**
|
* 总课时
|
*/
|
private Integer totalClassHours;
|
/**
|
* 剩余课时
|
*/
|
private Integer laveClassHours;
|
/**
|
* 缺课次数
|
*/
|
private Integer absencesNumber;
|
/**
|
* 退课课时
|
*/
|
private Integer dropoutsNumber;
|
/**
|
* 支付用户类型(1=用户,2=管理员)
|
*/
|
private Integer payUserType;
|
/**
|
* 支付状态(1=待支付,2=已支付)
|
*/
|
private Integer payStatus;
|
/**
|
* 第三方支付流水号
|
*/
|
private String orderNumber;
|
/**
|
* 支付用户id
|
*/
|
private Integer payUserId;
|
/**
|
* 课程状态(1=正常,2=已退课)
|
*/
|
private Integer status;
|
/**
|
* 退课时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date withdrawalTime;
|
/**
|
* 退课凭证
|
*/
|
private String certificate;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
|
//课包单价
|
private BigDecimal onePrice;
|
|
//已学课时
|
|
private Integer hasHours;
|
|
private BigDecimal restPrice;
|
|
private String name;
|
|
}
|