
    Oh+                     T    d dl mZ d dlmZ  e       Z G d dej                        Zy)    )
SQLAlchemy)datetimec                   `   e Zd ZdZej                  ej                  d      Zej                  ej                  d      d      Z	ej                  ej                  d      Zej                  ej                  d      d      Zej                  ej                  ej                        Zd Zy	)
	OcrResultocr_resultsT)primary_key   F)nullable)defaultc                 <    d| j                    d| j                   dS )Nz<OcrResult z: >)idoriginal_filename)selfs    /root/ocr/models.py__repr__zOcrResult.__repr__   s"    TWWIR(>(>'?qAA    N)__name__
__module____qualname____tablename__dbColumnIntegerr   Stringr   JSONextracted_dataface_image_pathDateTimer   utcnowprocessed_atr    r   r   r   r      s    !M	2::4	0B		"))C.5	AYYrwwY7Nii		#i>O99R[[(//9BLBr   r   N)flask_sqlalchemyr   r   r   Modelr   r"   r   r   <module>r%      s$    ' \
B 
Br   