package com.iqser.red.service.persistence.service.v1.api.shared.model.audit;

import java.time.OffsetDateTime;
import java.util.HashMap;
import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuditModel {

    private long recordId;
    private OffsetDateTime recordDate;
    private String objectId;
    private String category;
    private String userId;
    private String message;
    private Map<String, Object> details = new HashMap<>();

}
