3
؀h                 @   s.   d dl m Z  d dlmZ G dd dejZdS )    )datetime)dbc               @   s  e Zd ZdZejejddZejejddddZ	ejejdej
dddZejejddddZejejdZejejdd	ZejejZejejd
d	Zejejd
d	ZejejdddZejejddddZejejddZejejZejejZdS )
CreditNoteZcredit_notesT)primary_key   )uniqueindexzbookings.booking_public_id)r         
   1)defaultr   )nullableN)__name__
__module____qualname____tablename__r   ColumnIntegercredit_note_idStringZcredit_note_public_id
ForeignKey
booking_idZcredit_note_refZcredit_note_currencyFloatZcredit_note_amountTextZcredit_note_reasoncurrency_buying_rate_at_timecurrency_selling_rate_at_time
session_idstatusdeletion_markerDateTime
created_at
updated_at r#   r#   ,/booking_service/app/database/credit_note.pyr      s   r   N)r   routesr   Modelr   r#   r#   r#   r$   <module>   s   