Mantis App v0.1.13
Loading...
Searching...
No Matches
mantis::AuthTable Struct Reference

#include <models.h>

Inheritance diagram for mantis::AuthTable:
Collaboration diagram for mantis::AuthTable:

Public Member Functions

 AuthTable ()
 
 ~AuthTable () override=default
 
- Public Member Functions inherited from mantis::Table
virtual ~Table ()=default
 
 Table ()=default
 
virtual json to_json () const
 
virtual std::string to_sql () const
 

Public Attributes

std::string usernameField = "email"
 
std::string passwordField = "password"
 
bool enableSync = true
 
- Public Attributes inherited from mantis::Table
std::string id
 
std::string name
 
TableType type
 
bool system = false
 
bool has_api = true
 
std::vector< Fieldfields
 
Rule listRule
 
Rule getRule
 
Rule addRule
 
Rule updateRule
 
Rule deleteRule
 

Constructor & Destructor Documentation

◆ AuthTable()

mantis::AuthTable::AuthTable ( )

◆ ~AuthTable()

mantis::AuthTable::~AuthTable ( )
overridedefault

Member Data Documentation

◆ enableSync

bool mantis::AuthTable::enableSync = true

◆ passwordField

std::string mantis::AuthTable::passwordField = "password"

◆ usernameField

std::string mantis::AuthTable::usernameField = "email"

The documentation for this struct was generated from the following files: