ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
account_entity Struct Reference

Represents an account in the database. More...

#include <account_entity.hpp>

Collaboration diagram for account_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > id
 
int version = 0
 
std::string username
 
std::string password_hash
 
std::string password_salt
 
std::string totp_secret
 
std::string email
 
int is_admin = false
 
std::string modified_by
 
sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> valid_from = "9999-12-31 23:59:59"
 
sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> valid_to = "9999-12-31 23:59:59"
 

Static Public Attributes

static constexpr const char * schema = "oresdb"
 
static constexpr const char * tablename = "accounts"
 

Detailed Description

Represents an account in the database.