|
|
@ -41,5 +41,6 @@ class File(Entity): |
|
|
|
|
|
|
|
class FileType(Entity): |
|
|
|
"""Types could be trailer, subtitle, movie, partial movie etc.""" |
|
|
|
name = Field(UnicodeString(255)) |
|
|
|
identifier = Field(String(20), unique=True) |
|
|
|
name = Field(UnicodeString(255), nullable=False) |
|
|
|
files = OneToMany('File') |
|
|
|