ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
save_change_reason_category_request Struct Referencefinal

Request to save a change reason category (create or update). More...

#include <change_management_protocol.hpp>

Collaboration diagram for save_change_reason_category_request:
Collaboration graph

Public Member Functions

std::vector< std::byte > serialize () const
 

Static Public Member Functions

static std::expected< save_change_reason_category_request, ores::utility::serialization::error_code > deserialize (std::span< const std::byte > data)
 

Public Attributes

domain::change_reason_category category
 

Detailed Description

Request to save a change reason category (create or update).

Due to bitemporal storage, both create and update operations result in writing a new record. Database triggers handle temporal versioning automatically. The code field is the natural key.