
    7i{                     F    d dl mZ d dlmZmZ d dlmZ  G d ded      Zy)	    )Optional)SQLModelField)datetimec                   r   e Zd ZU dZdZ edd      Zee   e	d<    edd      Z
ee	d	<    edd
      Zee   e	d<    ed      Zee	d<    ed      Zee   e	d<    ed      Zee   e	d<    ed      Zee	d<    eej&                        Zee	d<    eej&                  dej&                  i      Zee	d<   y)ProductTemplatezJ
    Database model that represents an uploaded PSD product template.
    product_templateNT)defaultprimary_keyidF)indexnullablenamezuser.id)r
   foreign_keyuploaded_by)r   	file_path)r
   preview_png_pathz0:0ratio
is_deleted)default_factory
created_atonupdate)r   sa_column_kwargs
updated_at)__name__
__module____qualname____doc____tablename__r   r   r   int__annotations__r   strr   r   r   r   r   boolr   utcnowr   r        M/var/www/html/story-book/Story-Book-python-api/app/models/product_template.pyr   r      s     'Md=B=D51D#1!&t!KK#K E*Is*&+D&9hsm9 !/E8C=/ U+J+ AJA T^`h`o`oSpqJqr&   r   T)tableN)typingr   sqlmodelr   r   r   r   r%   r&   r'   <module>r+      s     $ rhd rr&   