mirror of https://github.com/logos-co/open-law.git
22 lines
353 B
Python
22 lines
353 B
Python
|
from app import models as m
|
||
|
|
||
|
BOOK = {
|
||
|
"model": m.Book,
|
||
|
"entity_id_field": "book_id",
|
||
|
}
|
||
|
|
||
|
COLLECTION = {
|
||
|
"model": m.Collection,
|
||
|
"entity_id_field": "collection_id",
|
||
|
}
|
||
|
|
||
|
SECTION = {
|
||
|
"model": m.Section,
|
||
|
"entity_id_field": "section_id",
|
||
|
}
|
||
|
|
||
|
INTERPRETATION = {
|
||
|
"model": m.Interpretation,
|
||
|
"entity_id_field": "interpretation_id",
|
||
|
}
|