20#ifndef ORES_DQ_API_DOMAIN_PUBLICATION_HPP
21#define ORES_DQ_API_DOMAIN_PUBLICATION_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.dq.api/domain/publication_mode.hpp"
29namespace ores::dq::domain {
41 boost::uuids::uuid
id;
64 publication_mode
mode = publication_mode::upsert;
Audit record for a dataset publication event.
Definition publication.hpp:37
std::uint64_t records_inserted
Number of records inserted during publication.
Definition publication.hpp:74
std::uint64_t records_skipped
Number of records skipped during publication.
Definition publication.hpp:84
std::string published_by
Username of the person who initiated the publication.
Definition publication.hpp:94
publication_mode mode
Publication mode used for this operation.
Definition publication.hpp:64
std::string target_table
Name of the production table that received the data.
Definition publication.hpp:69
boost::uuids::uuid id
Unique identifier for this publication record.
Definition publication.hpp:41
std::uint64_t records_deleted
Number of records deleted during publication.
Definition publication.hpp:89
std::chrono::system_clock::time_point published_at
Timestamp when the publication occurred.
Definition publication.hpp:99
std::string dataset_code
Code of the dataset that was published.
Definition publication.hpp:59
std::uint64_t records_updated
Number of records updated during publication.
Definition publication.hpp:79
std::string tenant_id
Tenant identifier for multi-tenancy isolation.
Definition publication.hpp:46
boost::uuids::uuid dataset_id
ID of the dataset that was published.
Definition publication.hpp:51