Extra library fields
This commit is contained in:
1 parent
e8db94c831
commit
970b400a0c
1 file changed
+10
@@ -45,6 +45,16 @@ class Library(Entity):
|
||||
movies = OneToMany('Movie')
|
||||
titles = OneToMany('LibraryTitle')
|
||||
files = ManyToMany('File')
|
||||
info = OneToMany('LibraryInfo')
|
||||
|
||||
|
||||
class LibraryInfo(Entity):
|
||||
""""""
|
||||
|
||||
identifier = Field(String(50))
|
||||
value = Field(Unicode(255), nullable = False)
|
||||
|
||||
library = ManyToOne('Library')
|
||||
|
||||
|
||||
class LibraryTitle(Entity):
|
||||
|
||||
Reference in new issue
Block a user