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ddZ
ejejZejejdZejejdZejejZejejdZejejdddZejejZejejZejejdddZejejdddZejejZejejZejejdZejej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ejejZ ejejZ!d
d Z"dS )GatepassZ
gatepassesT)primary_key7   )uniqueindex)r   1)defaultr   )nullablec             C   s
   d| j  S )Nz<Gatepass %r>)gatepass_public_id)self r   )/booking_service/app/database/gatepass.py__repr__"   s    zGatepass.__repr__N)#__name__
__module____qualname____tablename__r   ColumnIntegergatepass_idStringr   
booking_idDateTimeZgatepass_dateZgatepass_done_byZgatepass_phone_numberZgatepass_payment_statusdestinationZgatepass_ref_codebookingZmember_visit
partner_id	member_idDateZ
start_dateend_dateZgatepass_currencyZgatepass_source
session_idstatusdeletion_marker
created_at
updated_atZbefore_postpone_start_dateZbefore_postpone_end_dater   r   r   r   r   r      s4   r   N)r   routesr   Modelr   r   r   r   r   <module>   s   