|
Leosac
0.8.0
Open Source Access Control
|
Go to the documentation of this file.
36 #pragma db object optimistic
41 const std::string &
alias()
const;
42 void alias(
const std::string &);
51 const std::vector<Auth::UserLWPtr> &
users()
const;
52 const std::vector<Auth::GroupLWPtr> &
groups()
const;
53 const std::vector<Cred::CredentialLWPtr> &
credentials()
const;
54 const std::vector<Auth::DoorLWPtr> &
doors()
const;
132 #pragma db id_column("schedule_mapping_id") value_column("user_id")
133 #pragma db value_not_null unordered
134 #pragma db on_delete(cascade)
137 #pragma db id_column("schedule_mapping_id") value_column("group_id")
138 #pragma db value_not_null unordered
139 #pragma db on_delete(cascade)
142 #pragma db id_column("schedule_mapping_id") value_column("credential_id")
143 #pragma db value_not_null unordered
144 #pragma db on_delete(cascade)
145 std::vector<Cred::CredentialLWPtr>
creds_;
147 #pragma db id_column("schedule_mapping_id") value_column("door_id")
148 #pragma db value_not_null unordered
149 #pragma db on_delete(cascade)
155 #pragma db not_null inverse(mapping_)
odb::lazy_shared_ptr< Group > GroupLPtr
std::shared_ptr< User > UserPtr
This is the header file for a generated source file, GitSHA1.cpp.
odb::lazy_shared_ptr< User > UserLPtr
unsigned long CredentialId
odb::lazy_shared_ptr< Credential > CredentialLPtr
odb::lazy_shared_ptr< Door > DoorLPtr