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

Represents an account for an entity in the system. More...

#include <account.hpp>

Collaboration diagram for account:
Collaboration graph

Public Attributes

int version = 0
 Version number for optimistic locking and change tracking.
 
boost::uuids::uuid id
 Unique identifier for the account.
 
std::string recorded_by
 Username of the person who recorded this version in the system.
 
std::string change_reason_code
 Code identifying the reason for the change.
 
std::string change_commentary
 Free-text commentary explaining the change.
 
std::string username
 Unique username for login purposes.
 
std::string password_hash
 Hashed password for secure authentication.
 
std::string password_salt
 Salt used in password hashing for additional security.
 
std::string totp_secret
 Time-based One-Time Password secret for two-factor authentication.
 
std::string email
 Email address associated with the account.
 
std::chrono::system_clock::time_point recorded_at
 Timestamp when this version of the record was recorded in the system.
 

Detailed Description

Represents an account for an entity in the system.

Member Data Documentation

◆ change_reason_code

std::string change_reason_code

Code identifying the reason for the change.

References change_reasons table (soft FK).