
    Ci=                     f    d Z ddlmZmZmZmZmZmZmZ ddl	m
Z
 ddlmZ ddlmZ  G d de      Zy)	u   
Modèle produit/médicament
    )ColumnIntegerStringBooleanFloatDateTimeText)func)relationship)Basec                   l   e Zd ZdZ eedd      Z e ed      dd      Z ee	d      Z
 e ed      d      Z e ed	      d      Z eed      Z eed
      Z e ed       ej&                               Z e ed       ej&                               Z edd      Z edd      Zy)ProductproductsT)primary_keyindex   F)nullabler   )r   2   d   )default)timezone)server_default)onupdatePharmacyStockproduct)back_populatesPrescriptionProductN)__name__
__module____qualname____tablename__r   r   idr   namer	   descriptiondosageformr   
unit_pricer   	is_activer   r
   now
created_at
updated_atr   stocksprescription_products     :/home/www/lebenam.kofcorporation.com/app/models/product.pyr   r   
   s    M	T	6B&+T:D-KF2J.F&+-D-Jw-I$/
KJ$/($((*EJ /)DF()>yYr/   r   N)__doc__
sqlalchemyr   r   r   r   r   r   r	   sqlalchemy.sqlr
   sqlalchemy.ormr   app.db.base_classr   r   r.   r/   r0   <module>r6      s-    O N N  ' "Zd Zr/   