package com.ruoyi.order.domain.pojo.account;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
|
import com.google.gson.annotations.SerializedName;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* <p>
|
* 订单支付
|
* </p>
|
*
|
* @author jqs
|
* @since 2023-06-02
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_order_payment")
|
public class OrderPayment extends Model<OrderPayment> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 支付id
|
*/
|
@TableId("payment_id")
|
private String paymentId;
|
/**
|
* 删除标记
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
/**
|
* 用户id
|
*/
|
@TableField("user_id")
|
private Long userId;
|
/**
|
* 商户id
|
*/
|
@TableField("shop_id")
|
private Long shopId;
|
/**
|
* 订单二级商户号
|
*/
|
@TableField("sub_mch_id")
|
private String subMchId;
|
|
/**
|
* 订单id
|
*/
|
@TableField("order_id")
|
private String orderId;
|
|
/**
|
* 微信支付交易号
|
*/
|
@TableField("out_trade_no")
|
private String outTradeNo;
|
|
/**
|
* 支付状态1发起支付2支付成功3支付失败4已关闭
|
*/
|
@TableField("pay_status")
|
private Integer payStatus;
|
/**
|
* 支付金额
|
*/
|
@TableField("pay_money")
|
private BigDecimal payMoney;
|
/**
|
* 手续费
|
*/
|
@TableField("fee_amount")
|
private BigDecimal feeAmount;
|
/**
|
* 失效时间
|
*/
|
@TableField("time_expire")
|
private Date timeExpire;
|
/**
|
* 分账标记
|
*/
|
@TableField("profit_sharing")
|
private Integer profitSharing;
|
/**
|
* 补差金额
|
*/
|
@TableField("subsidy_amount")
|
private BigDecimal subsidyAmount;
|
/**
|
* 用户openid
|
*/
|
@TableField("user_open_id")
|
private String userOpenId;
|
/**
|
* 商品信息
|
*/
|
@TableField("goods_names")
|
private String goodsNames;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 预支付交易会话标识
|
*/
|
@TableField("prepay_id")
|
private String prepayId;
|
/**
|
* 回调时间
|
*/
|
@TableField("back_time")
|
private Date backTime;
|
|
@TableField("transaction_id")
|
private String transactionId;
|
|
@Override
|
protected Serializable pkVal() {
|
return this.paymentId;
|
}
|
|
}
|