package com.crm.rely.backend.model.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Entity
@Table(name = "golden_order")
public class GoldenOrderTable extends BaseTable {

    /**
     * 流水号
     */
    private String serial;

    private Long customId;

    private Long cId;

    private String email;

    private BigDecimal amount;

    private String currency;

    /**
     * 际换算后金额
     */
    private BigDecimal transformAmount;

    /**
     * 实际货币类型
     */
    private String transformCurrency;

    /**
     * 1:未支付 2:已支付 3:支付失败 4:已过期 5:已取消
     */
    private Integer status;

    /**
     * 付款人姓名
     */
    private String payName;

    /**
     * 付款人电话
     */
    private String payPhone;

    /**
     * 支付时间
     */
    private Date payTime;

    private String channelCode;

    private String channelName;

    private String channelEnName;


}
