package org.dromara.main.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.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_payment")
public class Payment extends BaseEntity {

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

    private String paymentNo;

    private Long orderId;

    private String orderNo;

    private Integer paymentType;

    private Integer paymentMethod;

    private BigDecimal paymentAmount;

    private String tradeNo;

    private String qrCodeUrl;

    private String tradeStatus;

    private Integer paymentStatus;

    private Date payTime;

    private String remark;
}
