wip
This commit is contained in:
26
app/alchemy/base.plantuml
Normal file
26
app/alchemy/base.plantuml
Normal file
@@ -0,0 +1,26 @@
|
||||
@startuml
|
||||
|
||||
|
||||
top to bottom direction
|
||||
skinparam linetype ortho
|
||||
|
||||
abstract Base {
|
||||
id\t\t\t\tInteger\t\t<<Primary>> {field}
|
||||
# __tablename__\tto_snake_case(__name__) {field}
|
||||
}
|
||||
'abstract DeclarativeBase {
|
||||
' + registry
|
||||
' + metadata
|
||||
' # __name__
|
||||
' # __mapper__
|
||||
' # __table__
|
||||
' # __tablename__
|
||||
' # __mapper_args__
|
||||
' # __table_args__
|
||||
' - _sa_registry
|
||||
' - _sa_inspect_type()
|
||||
' - _sa_inspect_instance()
|
||||
'}
|
||||
'
|
||||
'DeclarativeBase <|-- Base
|
||||
@enduml
|
||||
Reference in New Issue
Block a user