|
1
|
|
|
# -*- coding: utf-8 -*- |
|
2
|
|
|
# pylint: disable=C0103 |
|
3
|
1 |
|
""" |
|
4
|
|
|
This module contains a basic LOD dictionary model for a SQL database. |
|
5
|
|
|
Each class is a detailed description of a db table: |
|
6
|
|
|
Authors, Events, Keys, Definitions, Words, etc. |
|
7
|
|
|
Also it contains additional necessary variables. |
|
8
|
|
|
""" |
|
9
|
|
|
|
|
10
|
1 |
|
t_name_authors = "authors" |
|
11
|
|
|
"""`str` : `__tablename__` value for `BaseAuthor` table""" |
|
12
|
|
|
|
|
13
|
1 |
|
t_name_events = "events" |
|
14
|
|
|
"""`str` : `__tablename__` value for `BaseEvent` table""" |
|
15
|
1 |
|
t_name_keys = "keys" |
|
16
|
|
|
"""`str` : `__tablename__` value for `BaseKey` table""" |
|
17
|
|
|
|
|
18
|
1 |
|
t_name_settings = "settings" |
|
19
|
|
|
"""`str` : `__tablename__` value for `BaseSetting` table""" |
|
20
|
|
|
|
|
21
|
1 |
|
t_name_syllables = "syllables" |
|
22
|
|
|
"""`str` : `__tablename__` value for `BaseSyllable` table""" |
|
23
|
|
|
|
|
24
|
1 |
|
t_name_types = "types" |
|
25
|
|
|
"""`str` : `__tablename__` value for `BaseType` table""" |
|
26
|
|
|
|
|
27
|
1 |
|
t_name_words = "words" |
|
28
|
|
|
"""`str` : `__tablename__` value for `BaseWord` table""" |
|
29
|
|
|
|
|
30
|
1 |
|
t_name_definitions = "definitions" |
|
31
|
|
|
"""`str` : `__tablename__` value for `BaseDefinition` table""" |
|
32
|
|
|
|
|
33
|
1 |
|
t_name_word_spells = "word_spells" |
|
34
|
|
|
"""`str` : `__tablename__` value for `BaseWordSpell` table""" |
|
35
|
|
|
|
|
36
|
1 |
|
t_name_word_sources = "word_sources" |
|
37
|
|
|
"""`str` : `__tablename__` value for `BaseWordSource` table""" |
|
38
|
|
|
|
|
39
|
1 |
|
t_name_connect_authors = "connect_authors" |
|
40
|
|
|
"""`str` : `__tablename__` value for `t_connect_authors` table""" |
|
41
|
|
|
|
|
42
|
1 |
|
t_name_connect_words = "connect_words" |
|
43
|
|
|
"""`str` : `__tablename__` value for `t_connect_words` table""" |
|
44
|
|
|
|
|
45
|
1 |
|
t_name_connect_keys = "connect_keys" |
|
46
|
|
|
"""`str` : `__tablename__` value for `t_connect_keys` table""" |
|
47
|
|
|
|