
    ɢwh                         d dl mZ d dlmZ d dlmZmZmZ d dlm	Z	  G d dej                        Z G d dej                        Z G d	 d
ej                        Zy)    )models)CASCADE)	AutoField	CharField	DateField)AbstractUserc                      e Zd Z ej                  dddd      Z ej                  dddd      Z ej                  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 ej                  ddd	      Z ej                  d      ZdZ ej                  de      Z ej                  ddd      Z ej                  ddd      Z ej                  ddd      Z ej                  ddd      Z ej*                  ddd      Z ej                  dd      Z G d d      Zy)User    T)
max_lengthdefaultblanknullr   r   r   r   r   r   F)r   r   r      )uniquer   auto_now_add))   Admin)   r
   )   Driverr   r   choices
   user_profile)	upload_tor   r   )r   r   c                       e Zd ZdZdZy)	User.MetaTaccounts_userN__name__
__module____qualname__manageddb_table     U/mnt/ACDE16A4DE16673C/PROJECTS/DRIVERZZ/DRIVERZZ_DRIVER_APIS/authentication/models.pyMetar"      s    "r+   r-   N)r%   r&   r'   r   r   
first_name	last_nameemailDateTimeField
last_loginIntegerFieldis_superuserusernameis_staff	is_activedate_joineduser_type_data	user_typenamepasswordmobile
ImageFieldprofile_pic	fcm_tokenr-   r*   r+   r,   r
   r
      si   !!!S"DtTJ   C4dSIF4dCE%%%Dt<J&6&&UKLvt<H"v""AUGH###Qe%HI&&&&D9K?N###aHIF4dCE6s$TBDv3dFHV4EF#&##nDtTK   ds;I# #r+   r
   c                      e Zd ZU  ej                  d      ed<    ej                  edddej                  d      Z	dZ
 ej                  d	e

      Z ej                  d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 ej                  ddd      ZdZ ej                  d	e
      ZdZ ej                  d	e
      ZdZ ej                  d	e
      ZdZ ej                  d	e
      Z ej:                  d      Z ej:                  d      Z G d d      Z y)DriverPartnersTprimary_keyidr   Fdriver_partner)r   r   r   	on_deleterelated_name))r   Male)r   Femaler   r   r   r   r   ))r   No)r   Yes))r   z
In Station)r   zOut Stationr   Both))r   zOne way)r   RoundrM   ))r   	Automatic)r   ManualrM   r   c                       e Zd ZdZdZy)DriverPartners.MetaTdriver_partners_driverpartnersNr$   r*   r+   r,   r-   rS   8       3r+   r-   N)!r%   r&   r'   r   r   __annotations__
ForeignKeyr
   r   usergender_typesr3   genderr   licensce_nodate_of_birth
FloatField
experiencelocationhouse_numberpincodeuniform_typesuniform_typestation_typesstation_type
trip_types	trip_typetransmission_typestransmission_typer1   
created_at
updated_atr-   r*   r+   r,   rB   rB   "   sl   			d	++6T2ERXR`R`o  AD.L V  LAF"&""cUKK$F$$5uMM"""U;Jv3e%HH"&""cUKLf#UGG+M&6&&q-HLHM&6&&q-HL;J###AzBIF+++A?QR%%%48J%%%48J4 4r+   rB   c                       e Zd ZU  ej                  d      ed<    ej                  eej                  ddd      Z	dZ
 ej                  de
	      Z G d
 d      Zy)DriverVehiclesTrC   rE   Fdriver_vehicles)rG   r   r   rH   ))r   Suv)r   Sedan)r   Luxury)r   	Hatchbackr   r   c                       e Zd ZdZdZy)DriverVehicles.MetaTdriver_partners_drivervehiclesNr$   r*   r+   r,   r-   rt   C   rU   r+   r-   N)r%   r&   r'   r   r   rV   rW   r
   r   drivervehicle_model_typesr3   vehicle_modelr-   r*   r+   r,   rm   rm   =   sZ    			d	++Vtv~~UQVevwFT'F'';NOM4 4r+   rm   N)	django.dbr   django.db.models.deletionr   django.db.models.fieldsr   r   r   django.contrib.auth.modelsr   Modelr
   rB   rm   r*   r+   r,   <module>r~      sD     - C C 3#6<< #44V\\ 464V\\ 4r+   