package org.dromara.work.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 订单支付记录对象 tp_order_pay
 *
 * @author Maosw
 * @date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tp_order_pay")
public class TpOrderPay extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 所属订单
     */
    private Long oid;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 订单价格
     */
    private Long price;

    /**
     * 状态(1待支付，2已支付)
     */
    private Long state;

    /**
     * 下单时间
     */
    private Long addTime;

    /**
     * transaction_id
     */
    private String transactionId;


}
