package com.ruoyi.frequency.bondrecord.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * 保证金记录对象 t_bond_record
 * 
 * @author liwenlong
 * @date 2023-10-18
 */
@Data
@Accessors(chain = true)
@TableName("t_bond_record")
public class BondRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除标志;1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("表现师id")
    @Excel(name = "表现师id")
    private Long userId;

    @ApiModelProperty("金额")
    @Excel(name = "金额")
    private BigDecimal amount;

    @ApiModelProperty("支付方式,1app支付宝 2 h5支付宝 3 app微信 4 h5微信 5 小程序 6 苹果支付 7 余额")
    @Excel(name = "支付方式,1app支付宝 2 h5支付宝 3 app微信 4 h5微信 5 小程序 6 苹果支付 7 余额")
    private Integer payType;

    @ApiModelProperty("支付宝支付返回的订单号")
    @Excel(name = "支付宝支付返回的订单号")
    private String aliBusinessId;

    @ApiModelProperty("支付订单号")
    private String payOrderNo;

    @ApiModelProperty("支付状态 1待支付 2支付成功 3支付失败")
    private Integer payStatus;

    @ApiModelProperty("保证金提现类型 1 缴纳 2 提现 3 提现返还")
    @TableField(exist = false)
    private Integer type;

    @ApiModelProperty("保证金提现类型 1 缴纳 2 提现 3 提现返还 4 平台扣除 5 平台赠与")
    @TableField(exist = false)
    private String typeName;

    @ApiModelProperty("当前保证金")
    @TableField(exist = false)
    private BigDecimal currentAmount;

    @TableField(exist = false)
    private Integer status;

    /**
     * 用户备注
     */
    @TableField(exist = false)
    private String remarks;

    /**
     * 转账凭证
     */
    @TableField(exist = false)
    private String transferVoucher;

    @TableField(exist = false)
    private String refuseReason;


    @ApiModelProperty("开户行")
    @TableField(exist = false)
    private String bank;

    @ApiModelProperty("开户支行")
    @TableField(exist = false)
    private String subbranch;

    @ApiModelProperty("银行卡")
    @TableField(exist = false)
    private String bankCard;

    @ApiModelProperty("申请时间")
    @TableField(exist = false)
    private Date applyTime;

    @ApiModelProperty("审核通过时间")
    @TableField(exist = false)
    private Date processTime;

    @ApiModelProperty("姓名")
    @TableField(exist = false)
    private String fullName;



}
