1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-23 23:17:29 +00:00
kodak/imagemuck/database/thumbnail.py

12 lines
298 B
Python
Raw Normal View History

import peewee
2021-05-05 17:48:02 +00:00
from imagemuck.database._shared import ImageMuckModel
from imagemuck.database.image import ImageRecord
2021-05-05 17:48:02 +00:00
class ThumbnailRecord(ImageMuckModel):
parent = peewee.ForeignKeyField(ImageRecord)
width = peewee.IntegerField(null=False)
height = peewee.IntegerField(null=False)