package com.jeequan.jeepay.db.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 支付订单分账退款记录表
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2022-06-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pay_order_division_refund_record")
public class PayOrderDivisionRefundRecord extends com.jeequan.jeepay.core.entity.PayOrderDivisionRefundRecord {

    public static final byte STATE_ING = 0; // 退款中
    public static final byte STATE_SUCCESS = 1; // 成功
    public static final byte STATE_FAIL = 2; // 失败

    public static final LambdaQueryWrapper<PayOrderDivisionRefundRecord> gw(){
        return new LambdaQueryWrapper<>();
    }

    private static final long serialVersionUID=1L;

    /**
     * 分账退款订单号（支付系统生成订单号）
     */
    @TableId
    private String divisionRefundId;


}
