61 [[nodiscard]]
auto is_valid() const noexcept ->
bool {
128 [[nodiscard]]
auto is_valid() const noexcept ->
bool {
Recent study access record from the database.
auto is_valid() const noexcept -> bool
Check if this record has valid data.
std::string user_id
User who accessed the study.
int64_t pk
Primary key (auto-generated)
std::chrono::system_clock::time_point accessed_at
When the study was accessed.
std::string study_uid
Study Instance UID - DICOM tag (0020,000D)
size_t limit
Maximum number of results to return (0 = unlimited)
auto has_criteria() const noexcept -> bool
Check if any filter criteria is set.
size_t offset
Offset for pagination.
std::optional< std::string > study_uid
Study Instance UID filter.
std::optional< std::string > user_id
User ID filter.
Viewer state record from the database.
std::chrono::system_clock::time_point updated_at
Record last update timestamp.
std::string state_json
Full viewer state as JSON (layout, viewports, settings)
std::string state_id
Unique state identifier (UUID)
int64_t pk
Primary key (auto-generated)
std::chrono::system_clock::time_point created_at
Record creation timestamp.
std::string study_uid
Study Instance UID - DICOM tag (0020,000D)
std::string user_id
User who saved the state.
auto is_valid() const noexcept -> bool
Check if this record has valid data.