package com.panzhihua.service_community.model.dos;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @ClassName: ComShopFlowerOrderPay
|
* @Author: yh
|
* @Date: 2022/11/9 16:46
|
* @Description: 花城订单支付记录表
|
*/
|
@TableName(value = "com_shop_flower_order_pay")
|
@Data
|
public class ComShopFlowerOrderPayDO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 订单号
|
*/
|
@TableField(value = "order_no")
|
private String orderNo;
|
|
/**
|
* 支付单号
|
*/
|
@TableField(value = "pay_no")
|
private String payNo;
|
|
/**
|
* 微信交易号
|
*/
|
@TableField(value = "wx_trade_no")
|
private String wxTradeNo;
|
|
/**
|
* 支付状态(1.未支付 2.已支付)
|
*/
|
@TableField(value = "pay_status")
|
private Integer payStatus;
|
|
/**
|
* 订单金额
|
*/
|
@TableField(value = "order_amount")
|
private BigDecimal orderAmount;
|
|
/**
|
* 支付金额
|
*/
|
@TableField(value = "pay_amount")
|
private BigDecimal payAmount;
|
|
/**
|
* 支付时间
|
*/
|
@TableField(value = "pay_time")
|
private Date payTime;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_at", fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(value = "update_at", fill = FieldFill.UPDATE)
|
private Date updateAt;
|
|
/**
|
* 商家id
|
*/
|
private Long storeId;
|
/**
|
* 配送方式(1.自提 2.快递)
|
*/
|
private Integer deliveryType;
|
/**
|
* 原始订单id
|
*/
|
private Long orderId;
|
/**
|
* 退款订单号
|
*/
|
private String refundOrderNo;
|
/**
|
* 退款状态(1.处理中 2.退款成功 3.退款失败 4.已取消 5.退款中)
|
*/
|
private Integer refundStatus;
|
/**
|
* 类型(1.支付 2.退款 3.取消)
|
*/
|
private Integer payType;
|
|
/**
|
* 支付状态(1.未支付 2.已支付)
|
*/
|
public interface payStatus {
|
int no = 1;
|
int yes = 2;
|
}
|
|
/**
|
* 退款状态(1.处理中 2.退款成功 3.退款失败 4.已取消 5.退款中)
|
*/
|
public interface refundStatus {
|
int clz = 1;
|
int tkcg = 2;
|
int tksb = 3;
|
int yqx = 4;
|
int tkz = 5;
|
}
|
|
/**
|
* 类型(1.支付 2.退款 3.取消)
|
*/
|
public interface payType {
|
int zf = 1;
|
int tk = 2;
|
int qx = 3;
|
}
|
|
}
|