package com.hepl.tunefortwo.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Document("masterpayment")
@Getter
@Setter
@NoArgsConstructor
public class MasterPayment {
	 @Id
	    private String id;
	    private String orderId; 
	    private String formId;
	    private String userName;
	    private BigDecimal  amountCharged;
	    private BigDecimal  amountDue;
	    private BigDecimal  amountPaid;
	    private String paymentMethod;
	    private String currency;
	    private int orderAttempts;
	    private LocalDateTime createdAt;
	    private String status;
	    private String formOrderNumber;
	    private List<PaymentTransaction> payments; 
	    private BigDecimal totalAmountPaid;
	    private String tokenId; 
	    private String orderStatus;
	    private List<LocalDateTime> updatedAtList;
	    private String contactMail;
	    private String contactNumber;
	    
	    private String orderReceipt;
}
