package com.ruoyi.web.v2.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pay_record")
public class PayRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String peyNum;
    //0未申请 1已申请
    private Integer invoiceStatus;
    /**
     * 0余额充值 1 试用金充值
     */
    private Integer peyType;

    /**
     * 时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /**
     * 账户id
     */
    private String userId;

    /**
     * 充值方
     */
    private String payUser;

    /**
     * 充值账号
     */
    private String payAccount;

    /**
     * 充值金额
     */
    private String payAmount;

    /**
     * 收款方
     */
    private String payee;

    /**
     * 收款账户
     */
    private String payeeAccount;

    /**
     * 账户余额
     */
    private String accountBalance;

    /**
     * 试用余额
     */
    private String experienceBalance;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
