package com.ruoyi.database.domain;


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 com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 停车订单支付状态表(ParkingBillPaymentInfo)实体类
 *
 * @author makejava
 * @since 2025-12-01 19:08:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "parking_bill_payment_info")
@ApiModel(value = "ParkingBillPaymentInfo", description = "停车订单支付状态表")
public class ParkingBillPaymentInfo {

    /**
     * 主键ID
     */
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账单编号
     */
    @ApiModelProperty("账单编号")
    @Excel(name = "账单编号")
    private String billCode;

    /**
     * 车牌号
     */
    @ApiModelProperty("车牌号")
    @Excel(name = "车牌号")
    private String plateNo;

    /**
     * 车牌颜色
     */
    @ApiModelProperty("车牌颜色")
    @Excel(name = "车牌颜色")
    private Integer plateColor;
    @TableField(exist = false)
    private String plateColorCn;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    @Excel(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 微信openid
     */
    @ApiModelProperty("微信openid")
    @Excel(name = "微信openid")
    private String openId;

    /**
     * 支付方式
     */
    @ApiModelProperty("支付方式")
    @Excel(name = "支付方式")
    private String payType;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phone;

    /**
     * 支付状态
     */
    @ApiModelProperty("支付状态")
    @Excel(name = "支付状态")
    private Integer payStatus;
    @TableField(exist = false)
    private String payStatusCn;

    /**
     * 支付订单号id
     */
    @ApiModelProperty("支付订单号id")
    @Excel(name = "支付订单号id")
    private String transactionId;

    /**
     * 支付时间
     */
    @ApiModelProperty("支付时间")
    @Excel(name = "支付时间")
    private String payTime;
    @TableField(exist = false)
    private String payTimeCn;


    /**
     * 商品订单id
     */
    @ApiModelProperty("商品订单id")
    @Excel(name = "商品订单id")
    private String orderId;


}
