package com.banesco.module.transaction.domain.model;

import com.banesco.common.domain.model.Event;
import com.banesco.common.domain.model.Identifier;
import com.banesco.module.instruction.domain.model.Instruction;
import io.quarkus.runtime.annotations.RegisterForReflection;
import lombok.*;

import java.util.List;

@Getter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@RegisterForReflection
public class Transaction {
    private Identifier transactionIdentification; // TransactionCode
    private String transactionType; // TransactionType
    private String transactionConsecutive; // TransactionConsecutive
    private String transactionDescription; // DetailReg
    private Event event; // RequestId, AppName, OperationType, FinalStatusRequest, CountDataOut
    private List<Instruction> instruction; // SupervisorCode, RegisterNumber
}
