ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
dataset_bundle_member Struct Referencefinal

Links a dataset to a bundle. More...

#include <dataset_bundle_member.hpp>

Collaboration diagram for dataset_bundle_member:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation.
 
std::string bundle_code
 Code of the bundle this membership belongs to.
 
std::string dataset_code
 Code of the dataset that is a member of the bundle.
 
int display_order = 0
 Order in which this dataset should be displayed or processed.
 
bool optional = false
 Whether this dataset is optional in the bundle.
 
std::string modified_by
 Username of the person who last modified this membership.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::string performed_by
 Username of the account that performed this operation.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded.
 

Detailed Description

Links a dataset to a bundle.

Junction table linking bundles to their constituent datasets. Uses codes for loose coupling - allows declaring membership for datasets that may not yet exist in the system.

Examples:

Member Data Documentation

◆ bundle_code

std::string bundle_code

Code of the bundle this membership belongs to.

References dataset_bundle.code (soft FK).

◆ dataset_code

std::string dataset_code

Code of the dataset that is a member of the bundle.

References dataset.code (soft FK).

◆ display_order

int display_order = 0

Order in which this dataset should be displayed or processed.

Lower numbers appear first. Used for controlling installation order and UI presentation.

◆ optional

bool optional = false

Whether this dataset is optional in the bundle.

Optional datasets require explicit opt-in during publication. They are skipped unless the user selects them in the wizard.

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).