10 lines
347 B
Python
10 lines
347 B
Python
from catalog.common import *
|
|
|
|
|
|
class Movie(Item):
|
|
category = ItemCategory.Movie
|
|
url_path = 'movie'
|
|
imdb = PrimaryLookupIdDescriptor(IdType.IMDB)
|
|
tmdb_movie = PrimaryLookupIdDescriptor(IdType.TMDB_Movie)
|
|
douban_movie = PrimaryLookupIdDescriptor(IdType.DoubanMovie)
|
|
duration = jsondata.IntegerField(blank=True, default=None)
|