
     wg0                     Z    d dl mZ d dlmZ d dlmZmZmZ  G d dej                        Z	y)    )models)User)TransmissionTypesVehicleModelsVehicleTypesc                   @   e Zd ZU  ej                  d      ed<    ej                  edddej                  d      Z	 ej                  e
dddej                        Z ej                  edddej                        Z ej                  edddej                        Z ej                   dddd	      Z ej                   dddd	      Z ej                   dddd	      Zd
Z ej*                  de      ZdZ ej*                  dedd      Z ej                   ddd      Z ej                   dddd	      Z ej                   dddd	      Z ej                   dddd      Z ej                   dddd      Z ej                   dddd      Z ej>                  dd      Z  ej                   ddd      Z! ej>                  dd      Z" ej                   ddd      Z#dZ$ ej*                  de$      Z% ejL                  dd      Z'dZ( ej*                  de$      Z) ej                  edddej                  d      Z* ej>                  dd      Z+ ej                   ddd      Z, ej>                  dd      Z- ej                   ddd      Z. ej                   ddd      Z/dZ0 ej*                  de0      Z1 ej*                  ddd      Z2 ej*                  ddd      Z3 ejh                  d      Z5 ejh                  d      Z6 G d d      Z7y)TripsT)primary_keyid 
user_trips)blanknulldefault	on_deleterelated_name)r   r   r   r      )r   r   
max_lengthr   ))r   zOne way)   Roundr   )r   choices))r   z
No Uniform)r   UniformF)r   r   r   r   )r   r   r   )r   r   r   r   )r   r   r   r   )r   r   ))r   z
In Stationr   zOut Station)r   Pending)r   Assigned)   Start)   Complete)   Rejectedtrip_driver)r   r   )r   r   r   )auto_now_addc                       e Zd ZdZdZy)
Trips.MetaTtrips_tripsN)__name__
__module____qualname__manageddb_table     K/mnt/ACDE16A4DE16673C/PROJECTS/DRIVERZZ/DRIVERZZ_ADMIN_APIS/trips/models.pyMetar&   /   s     r.   r0   N)8r(   r)   r*   r   	AutoField__annotations__
ForeignKeyr   SET_NULLuserr   vehicle_modelr   vehicle_typer   transmission_type	CharFieldvehicle_model_namevehicle_type_nametransmission_type_name
trip_typesIntegerField	trip_typeuniform_typesuniform_typepickup_addresspickup_latitudepickup_longitudedestination_addressdestination_latitudedestination_longitude	DateField
start_date
start_timeend_dateend_timestation_typesstation_type	TextFieldinstructionsstatus_typesstatusdrivertrip_start_datetrip_start_timetrip_end_datetrip_end_timereference_idpayment_status_typespayment_statusamount
net_amountDateTimeField
created_at
updated_atr0   r-   r.   r/   r	   r	      s[   			d	++6TD"PVP_P_nz{D%F%%mRtRVbhbqbqrM$6$$\2TPT`f`o`opL)))*;RtZ^jpjyjyz)))DSZ\](((t4CY[\-V--DQT^`a/J###AzBI7M&6&&q-u[`aL%V%%ENN&f&&T#WYZO'v''d$3XZ[*&**cDZ\]+6++$3T[]^,F,,4Cd\^_!!!E:J!!!SEJJve%8Hv3e%HH;M&6&&q-HL#6##$T:LdL V  MBFVt4dBRXRaRap}~F&f&&T=O&f&&#TMO$F$$4d;M$F$$4dKM#6##s$TJL?(V((<PQN V  %eDF$$$Qe%HJ%%%48J%%%48J! !r.   r	   N)
	django.dbr   authentication.modelsr   vehicles.modelsr   r   r   Modelr	   r-   r.   r/   <module>rd      s!     & J J+!FLL +!r.   