|
@@ -6,9 +6,9 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
+import java.util.Date;
|
|
|
|
|
|
/**
|
|
|
* 视频课购买记录表
|
|
@@ -52,90 +52,78 @@ public class VideoLessonPurchaseRecord extends BaseEntity {
|
|
|
private String orderNo;
|
|
|
|
|
|
@TableField("order_status_")
|
|
|
- @ApiModelProperty(value = "订单状态(1:已完成;0:取消/支付中)")
|
|
|
- private Integer orderStatus;
|
|
|
+ @ApiModelProperty(value = "订单状态(WAIT_PAY待支付,PAYING支付中,PAID已付款,CLOSE已关闭,FAIL支付失败)")
|
|
|
+ private String orderStatus;
|
|
|
|
|
|
- public BigDecimal getOriginalPrice() {
|
|
|
- return originalPrice;
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
}
|
|
|
|
|
|
- public void setOriginalPrice(BigDecimal originalPrice) {
|
|
|
- this.originalPrice = originalPrice;
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getExpectPrice() {
|
|
|
- return expectPrice;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExpectPrice(BigDecimal expectPrice) {
|
|
|
- this.expectPrice = expectPrice;
|
|
|
+ public Long getVideoLessonGroupId() {
|
|
|
+ return videoLessonGroupId;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- return this;
|
|
|
+ public void setVideoLessonGroupId(Long videoLessonGroupId) {
|
|
|
+ this.videoLessonGroupId = videoLessonGroupId;
|
|
|
}
|
|
|
|
|
|
- public Long getId() {
|
|
|
- return this.id;
|
|
|
+ public Long getStudentId() {
|
|
|
+ return studentId;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setVideoLessonGroupId(Long videoLessonGroupId) {
|
|
|
- this.videoLessonGroupId = videoLessonGroupId;
|
|
|
- return this;
|
|
|
+ public void setStudentId(Long studentId) {
|
|
|
+ this.studentId = studentId;
|
|
|
}
|
|
|
|
|
|
- public Long getVideoLessonGroupId() {
|
|
|
- return this.videoLessonGroupId;
|
|
|
+ public Date getPurchaseTime() {
|
|
|
+ return purchaseTime;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setStudentId(Long studentId) {
|
|
|
- this.studentId = studentId;
|
|
|
- return this;
|
|
|
+ public void setPurchaseTime(Date purchaseTime) {
|
|
|
+ this.purchaseTime = purchaseTime;
|
|
|
}
|
|
|
|
|
|
- public Long getStudentId() {
|
|
|
- return this.studentId;
|
|
|
+ public BigDecimal getOriginalPrice() {
|
|
|
+ return originalPrice;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setPurchaseTime(java.util.Date purchaseTime) {
|
|
|
- this.purchaseTime = purchaseTime;
|
|
|
- return this;
|
|
|
+ public void setOriginalPrice(BigDecimal originalPrice) {
|
|
|
+ this.originalPrice = originalPrice;
|
|
|
}
|
|
|
|
|
|
- public java.util.Date getPurchaseTime() {
|
|
|
- return this.purchaseTime;
|
|
|
+ public BigDecimal getExpectPrice() {
|
|
|
+ return expectPrice;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setPayMoney(java.math.BigDecimal payMoney) {
|
|
|
- this.payMoney = payMoney;
|
|
|
- return this;
|
|
|
+ public void setExpectPrice(BigDecimal expectPrice) {
|
|
|
+ this.expectPrice = expectPrice;
|
|
|
}
|
|
|
|
|
|
- public java.math.BigDecimal getPayMoney() {
|
|
|
- return this.payMoney;
|
|
|
+ public BigDecimal getPayMoney() {
|
|
|
+ return payMoney;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setOrderNo(String orderNo) {
|
|
|
- this.orderNo = orderNo;
|
|
|
- return this;
|
|
|
+ public void setPayMoney(BigDecimal payMoney) {
|
|
|
+ this.payMoney = payMoney;
|
|
|
}
|
|
|
|
|
|
public String getOrderNo() {
|
|
|
- return this.orderNo;
|
|
|
+ return orderNo;
|
|
|
}
|
|
|
|
|
|
- public VideoLessonPurchaseRecord setOrderStatus(Integer orderStatus) {
|
|
|
- this.orderStatus = orderStatus;
|
|
|
- return this;
|
|
|
+ public void setOrderNo(String orderNo) {
|
|
|
+ this.orderNo = orderNo;
|
|
|
}
|
|
|
|
|
|
- public Integer getOrderStatus() {
|
|
|
- return this.orderStatus;
|
|
|
+ public String getOrderStatus() {
|
|
|
+ return orderStatus;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return ToStringBuilder.reflectionToString(this);
|
|
|
- }
|
|
|
+ public void setOrderStatus(String orderStatus) {
|
|
|
+ this.orderStatus = orderStatus;
|
|
|
+ }
|
|
|
}
|