package com.dsh.competition.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.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/7/6 16:30
|
*/
|
@Data
|
@TableName("t_payment_competition")
|
public class PaymentCompetition {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.NONE)
|
private Long id;
|
/**
|
* 业务流水号
|
*/
|
@TableField("code")
|
private String code;
|
/**
|
* 赛事id
|
*/
|
@TableField("competitionId")
|
private Integer competitionId;
|
/**
|
* 用户id
|
*/
|
@TableField("appUserId")
|
private Integer appUserId;
|
/**
|
* 支付方式(1=微信,2=支付宝,3=玩湃币,4=课时)
|
*/
|
@TableField("payType")
|
private Integer payType;
|
/**
|
* 支付金额
|
*/
|
@TableField("amount")
|
private Double amount;
|
/**
|
* 支付状态(1=待支付,2=已支付,3=已退款)
|
*/
|
@TableField("payStatus")
|
private Integer payStatus;
|
/**
|
* 支付时间
|
*/
|
@TableField("payTime")
|
private Date payTime;
|
/**
|
* 第三方支付流水号
|
*/
|
@TableField("payOrderNo")
|
private String payOrderNo;
|
/**
|
* 分账流水号
|
*/
|
@TableField("fenzhangNo")
|
private String fenzhangNo;
|
/**
|
* 分账业务号 存值表明已分账 未存表明未分账
|
*/
|
@TableField("fenzhangOrderNo")
|
private String fenzhangOrderNo;
|
/**
|
* 分账金额
|
*/
|
@TableField("fenzhangAmount")
|
private BigDecimal fenzhangAmount;
|
/**
|
* 分账回退流水号
|
*/
|
@TableField("fenzhangRefundNo")
|
private String fenzhangRefundNo;
|
/**
|
* 退款时间
|
*/
|
@TableField("refundTime")
|
private Date refundTime;
|
/**
|
* 第三方退款流水
|
*/
|
@TableField("refundOrderNo")
|
private String refundOrderNo;
|
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("state")
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Date insertTime;
|
}
|