o
    6f                     @   s|   d dl mZ G dd dejZG dd dejZG dd dejZG dd	 d	ejZG d
d dejZG dd dejZdS )    )modelsc                   @   s   e Zd ZejddZejdddZe Z	ej
dddZej
ddZej
ddZe Ze Ze Ze 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Zej
ddddZG dd dZdS )UserTprimary_keyblanknull   )unique
max_lengthr      )r   r   r   
   d   c                   @      e Zd ZdZdZdS )z	User.MetaTaccounts_userN__name__
__module____qualname__manageddb_table r   r   N/media/darth/New Volume E/PROJECTS/DRIVERZZ/DRIVERZZ_ADMIN_APIS/apis/models.pyMeta       r   N)r   r   r   r   BigAutoFieldidDateTimeField
last_loginIntegerFieldis_superuser	CharFieldusername
first_name	last_nameis_staff	is_activedate_joined	user_typeemailnamepasswordmobileprofile_pic	fcm_tokenr   r   r   r   r   r      s$    r   c                   @   s^   e Zd ZejddZejddZejddZe	 Z
ejddZejddZG dd dZdS )	NotificationsTr   r   r   )auto_now_addc                   @   r   )zNotifications.MetaTnotifications_notificationsNr   r   r   r   r   r   "   r   r   N)r   r   r   r   r   r   r"   titlebodyr    send_tor   
created_at
updated_atr   r   r   r   r   r0      s    r0   c                   @   s   e Zd ZejddZe ZejddZ	ejddZ
ejddZejddZejddZejddZe Ze ZejddZe Ze ZejddZejddZe ZejdddZe Ze ZG dd dZdS )	TripTr   r   r   r   c                   @   r   )z	Trip.MetaT	trip_tripNr   r   r   r   r   r   ;   r   r   N)r   r   r   r   r   r   r    tripr"   r-   pickup_street_namepickup_pincodedropoff_street_namedropoff_pincodepickup_location_address
FloatFieldpickup_location_latitudepickup_location_longitudedropoff_location_addressdropoff_location_latitudedropoff_location_longitude
start_timeend_timestation	TextFieldinstructionr   r6   r7   r   r   r   r   r   r8   &   s*    r8   c                   @   s   e Zd ZejddZejddZejddZejddZ	e
 ZejddZejddZe ZejddZejddZejddZe
 Ze
 Ze
 Ze
 Ze
 Ze Ze ZG dd dZdS )DriverPartnerTr   r   r   c                   @   r   )zDriverPartner.MetaTdriver_partner_driverpartnerNr   r   r   r   r   r   S   r   r   N)r   r   r   r   r   r   r"   r+   r-   r*   r    genderlicensce_nodate_of_birthr@   
experiencelocationhouse_numberpincodeuniformrH   vehicle_modelr:   transmission_typer   r6   r7   r   r   r   r   r   rK   ?   s(    rK   c                   @   sb   e Zd ZejddZe ZejddZ	e Z
e Ze Ze Ze ZG dd dZdS )RatesTr   r   r   c                   @   r   )z
Rates.MetaTrates_ratesNr   r   r   r   r   r   a   r   r   N)r   r   r   r   r   r   r    dayr"   durationrT   rH   r@   rater   r6   r7   r   r   r   r   r   rW   W   s    rW   c                   @   sN   e Zd ZejddZejddZejddZe	 Z
e	 ZG dd dZdS )AdditionalchargesTr   r   r   c                   @   r   )zAdditionalcharges.MetaTrates_additionalchargesNr   r   r   r   r   r   l   r   r   N)r   r   r   r   r   r   r"   r3   valuer   r6   r7   r   r   r   r   r   r\   e   s    r\   N)		django.dbr   Modelr   r0   r8   rK   rW   r\   r   r   r   r   <module>   s    