| | |
| | | package com.dsh.course.entity; |
| | | |
| | | 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.annotation.*; |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("t_course_package_payment") |
| | | public class TCoursePackagePayment extends Model<TCoursePackagePayment>{ |
| | | public class TCoursePackagePayment extends Model<TCoursePackagePayment> { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | @TableId(value = "id", type = IdType.NONE) |
| | | @TableField(updateStrategy = FieldStrategy.NEVER) |
| | | private Long id; |
| | | /** |
| | | * 业务编号 |
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date insertTime; |
| | | |
| | | |
| | | @TableField("useTime") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date useTime; |
| | | |
| | | /** |
| | | * 平台手动支付时使用 |
| | | */ |
| | | @TableField("payUserName") |
| | | private String payUserName; |
| | | /** |
| | | * 销售人员(线下购课添加购课订单时使用) |
| | | */ |
| | | @TableField("salesName") |
| | | private String salesName; |
| | | |
| | | @TableField(exist = false) |
| | | private String studentName; |
| | | @TableField(exist = false) |
| | | |
| | | private String province; |
| | | @TableField(exist = false) |
| | | |
| | | private String city; |
| | | @TableField(exist = false) |
| | | |
| | | private String courseName; |
| | | @TableField(exist = false) |
| | | |
| | | private Integer hasHours; |
| | | @TableField(exist = false) |
| | | |
| | | private BigDecimal laveCashPayment; |
| | | @TableField(exist = false) |
| | | |
| | | private BigDecimal cashPayment1; |
| | | |
| | | |
| | | @TableField(exist = false) |
| | | private Integer type; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer orderId; |
| | | @TableField("giftClassHours") |
| | | private Integer giftClassHours; |
| | | // 所选课时规格id |
| | | @TableField(exist = false) |
| | | private Integer coursePackageConfigId; |
| | | } |