o
    Mf                     @   s@   d dl mZ d dlmZ G dd dejZG dd dejZdS )    )models)Userc                   @   s  e Zd ZU ejdded< ejedddejddZ	dZ
ejd	e
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ddZejddddZejddddZdZejd	ed
ZdZejd	ed
ZdZejd	ed
ZdZejd	ed
ZejddZejddZG dd dZ dS )DriverPartnersTprimary_keyid Fdriver_partner)defaultnullblank	on_deleterelated_name))r   Male)   Femaler   r
   choices   )
max_lengthr   r   )r   r   ))r   No)r   Yes))r   z
In Station)r   zOut Station   Both))r   zOne way)r   Roundr   ))r   	Automatic)r   Manualr   )auto_now_addc                   @      e Zd ZdZdZdS )zDriverPartners.MetaTdriver_partners_driverpartnersN__name__
__module____qualname__manageddb_table r'   r'   Y/media/darth/New Volume E/PROJECTS/DRIVERZZ/DRIVERZZ_ADMIN_APIS/driver_partners/models.pyMeta       r)   N)!r"   r#   r$   r   	AutoField__annotations__
ForeignKeyr   CASCADEusergender_typesIntegerFieldgender	CharField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_typeDateTimeField
created_at
updated_atr)   r'   r'   r'   r(   r      s,   
 r   c                   @   sT   e Zd ZU ejdded< ejeejddddZ	dZ
ejde
d	ZG d
d dZdS )DriverVehiclesTr   r   Fdriver_vehicles)r   r   r   r   ))r   Suv)r   Sedan)r   Luxury)   	Hatchbackr   r   c                   @   r   )zDriverVehicles.MetaTdriver_partners_drivervehiclesNr!   r'   r'   r'   r(   r)   %   r*   r)   N)r"   r#   r$   r   r+   r,   r-   r   r.   drivervehicle_model_typesr1   vehicle_modelr)   r'   r'   r'   r(   rF      s   
 rF   N)	django.dbr   authentication.modelsr   Modelr   rF   r'   r'   r'   r(   <module>   s    