ramp_database.model
.EventAdmin¶
-
class
ramp_database.model.
EventAdmin
(**kwargs)¶ EventAdmin table.
This is a many-to-many relationship between Event and User to defined admins.
- Parameters
- event
ramp_database.model.Event
The event instance.
- admin
ramp_database.model.User
The user instance.
- event
- Attributes
- idint
The ID of the table row.
- event_idint
The ID of the event.
- event
ramp_database.model.Event
The event instance.
- admin_idint
The ID of the user defined as an admin.
- admin
ramp_database.model.User
The user instance.
-
__init__
(**kwargs)¶ A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.