package com.izouma.nineth.repo;

import com.izouma.nineth.domain.BaseEntity;
import com.izouma.nineth.enums.PayMethod;
import com.izouma.nineth.enums.SandPayMethod;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ErrorOrder extends BaseEntity {
    private Long orderId;

    private String errorMessage;

    private String transactionId;

    private PayMethod payMethod;

    @Column(columnDefinition = "varchar(255) default 'collection'")
    private String type;
}
