package com.dsh.account.feignclient.course.model; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** * @author zhibing.pu * @Date 2023/11/25 11:45 */ @Data public class CoursePackageOrder { /** * 主键 */ private Long id; /** * 业务编号 */ private String code; /** * 用户id */ private Integer appUserId; /** * 学员ids */ private String studentIds; /** * 课包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; /** * 支付用户类型(1=用户,2=管理员) */ private Integer payUserType; /** * 支付状态(1=待支付,2=已支付) */ private Integer payStatus; /** * 第三方支付流水号 */ private String orderNumber; /** * 支付用户id */ private Integer payUserId; /** * 课程状态(1=正常,2=已退课) */ private Integer status; /** * 状态(1=正常,2=冻结,3=删除) */ private Integer state; /** * 添加时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date insertTime; /** * 平台手动支付时使用 */ private String payUserName; /** * 销售人员(线下购课添加购课订单时使用) */ private String salesName; /** * 订单类型(1=购买订单,2=积分商品兑换订单) */ @TableField("orderType") private Integer orderType; @TableField(exist = false) private Integer type; }