
    j                     :    d dl mZ  G d dej                        Zy)    )dbc                   V   e Zd ZdZ ej
                  dd       ej
                  dd       ej
                  dd      fZ ej                  ej                  d	      Z	 ej                  ej                  d
      Z ej                   ej                  d      d
      Z ej                   ej                  dd      d
      Z ej                  ej                   d
d
      Z ej                  ej                   d
d      Z ej                  ej                  d      Z ej                  ej(                  ej*                  j-                         d
      Z ej                  ej                   ej0                  dd      d
      Z ej                  ej                   ej0                  dd      d      Z ej                   ej                  d      d      Z ej                   ej                  d      d      Z ej                  ej                  d      Z ej                  ej<                  d      Z ej                  ej                   ej0                  dd      d      Z  ejB                  dd      Z" ejB                  dd      Z# ejB                  dd      Z$y)Transactiontransactionsidx_transactions_datedateidx_transactions_categorycategory_ididx_transactions_account
account_idT)primary_keyF)nullable   
      )r   default)server_defaultr   zaccounts.idRESTRICT)ondeletezcategories.id@   d   zimport_batches.idzSET NULLAccount)back_populatesCategoryImportBatchN)%__name__
__module____qualname____tablename__r   Index__table_args__ColumnIntegeridTextr   Stringmerchant_normalizedNumericamountBoolean	is_credit	is_manualnotesDateTimefuncnow
created_at
ForeignKeyr   r
   
dedup_hashissuermerchant_rawFloatconfidence_scoreimport_batch_idrelationshipaccountcategoryimport_batch     2/var/www/html/financials/app/models/transaction.pyr   r      s,   "M(&1,m<+\:N 
2::4	0B299RWWu-D#"))IBIIcNUCRYYzrzz"a(59F		"**ueDI		"**udCIBIIbgg-E2;;rww{{}uUJ 2::}r}}]Z'XchiJ"))BJJoPZ([fjkK 9299R=48JRYYyryy~5F299RWWt4L ryyD9bii


)J?O booiGGrz.IH"2??=PLr>   r   N)app.extensionsr   Modelr   r=   r>   r?   <module>rB      s    #Q"(( #Qr>   