package com.zhentao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * VIP支付订单实体
 */
@Data
@TableName("vip_pay_order")
public class VipPayOrder implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String orderNo;

    private Long userId;

    private Long packageId;

    private String packageName;

    private BigDecimal totalAmount;

    /**
     * 订单金额（分）
     */
    private Integer totalFee;

    private String tradeType;

    /**
     * 0-待支付 1-支付成功 2-支付失败
     */
    private Integer status;

    private String prepayId;

    private String transactionId;

    private String openid;

    private String clientIp;

    private LocalDateTime payTime;

    private String notifyData;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}


