Represents an account in the database.
More...
#include <account_entity.hpp>
|
|
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 constexpr const char * | schema = "oresdb" |
| |
|
static constexpr const char * | tablename = "accounts" |
| |
Represents an account in the database.