2025-01-27 21:47:33 +08:00

293 lines
5.8 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.upchina.app.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* <p>
* C端订单
* </p>
*
* @author easonzhu
* @since 2024-11-07
*/
public class AppOrder implements Serializable {
/**
* 订单号
*/
@TableId("order_id")
private String orderId;
/**
* 产品ID
*/
@TableField("product_id")
private String productId;
/**
* 产品名称
*/
@TableField("product_name")
private String productName;
/**
* 用户名\UPID
*/
@TableField("user_name")
private String userName;
/**
* 订单状态 新订单180、已开通220、已停用/已退款90、已过期80、已取消70关闭权限但未退款230
*/
private Integer status;
/**
* 支付状态 1:已支付 2:未支付
*/
@TableField("pay_status")
private Integer payStatus;
/**
* 订单金额
*/
@TableField("total_price")
private BigDecimal totalPrice;
/**
* 支付金额
*/
@TableField("pay_total")
private BigDecimal payTotal;
/**
* 下单渠道
*/
private Integer currch;
/**
* 扩展信息
*/
@TableField("ext_info")
private String extInfo;
/**
* 传参
*/
private String bvideo;
/**
* 视频ID
*/
@TableField("video_id")
private Integer videoId;
/**
* 视频类型 3:直播
*/
@TableField("product_type")
private Integer productType;
/**
* 营销人员
*/
@TableField("sale_user_id")
private Integer saleUserId;
/**
* 下单时间
*/
@TableField("order_time")
private LocalDateTime orderTime;
/**
* 支付时间
*/
@TableField("pay_time")
private LocalDateTime payTime;
/**
* 创建时间
*/
@TableField("create_time")
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField("update_time")
private LocalDateTime updateTime;
public String getOrderId() {
return orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getPayStatus() {
return payStatus;
}
public void setPayStatus(Integer payStatus) {
this.payStatus = payStatus;
}
public BigDecimal getTotalPrice() {
return totalPrice;
}
public void setTotalPrice(BigDecimal totalPrice) {
this.totalPrice = totalPrice;
}
public BigDecimal getPayTotal() {
return payTotal;
}
public void setPayTotal(BigDecimal payTotal) {
this.payTotal = payTotal;
}
public Integer getCurrch() {
return currch;
}
public void setCurrch(Integer currch) {
this.currch = currch;
}
public String getExtInfo() {
return extInfo;
}
public void setExtInfo(String extInfo) {
this.extInfo = extInfo;
}
public String getBvideo() {
return bvideo;
}
public void setBvideo(String bvideo) {
this.bvideo = bvideo;
}
public Integer getVideoId() {
return videoId;
}
public void setVideoId(Integer videoId) {
this.videoId = videoId;
}
public Integer getProductType() {
return productType;
}
public void setProductType(Integer productType) {
this.productType = productType;
}
public Integer getSaleUserId() {
return saleUserId;
}
public void setSaleUserId(Integer saleUserId) {
this.saleUserId = saleUserId;
}
public LocalDateTime getOrderTime() {
return orderTime;
}
public void setOrderTime(LocalDateTime orderTime) {
this.orderTime = orderTime;
}
public LocalDateTime getPayTime() {
return payTime;
}
public void setPayTime(LocalDateTime payTime) {
this.payTime = payTime;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "AppOrder{" +
"orderId=" + orderId +
", productId=" + productId +
", productName=" + productName +
", userName=" + userName +
", status=" + status +
", totalPrice=" + totalPrice +
", payTotal=" + payTotal +
", currch=" + currch +
", extInfo=" + extInfo +
", bvideo=" + bvideo +
", videoId=" + videoId +
", productType=" + productType +
", saleUserId=" + saleUserId +
", orderTime=" + orderTime +
", payTime=" + payTime +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}