package com.caliverse.admin.mongodb.domain;

import com.caliverse.admin.mongodb.entity.EActionType;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class APILogInfoBase implements apiLog {
    private String timestamp;
    private EActionType actionType;
    private String tranId;
    private Object body;

    public APILogInfoBase(String timestamp,
                          EActionType actionType,
                          String tranId,
                          Object body
    ) {
        this.timestamp = timestamp;
        this.actionType = actionType;
        this.tranId = tranId;
        this.body = body;
    }
}
