o
    Zhg                     @   sX   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d
S )    )modelsc                   @   s   e Zd ZU ejdded< dZejde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ejdddZejddZejddZG dd dZdS )	RateListsTprimary_keyid))r   Day)   Night)   zcomplete Dayr   )defaultchoicesF)r   nullblank))r   No)r   Yes))r   z
In Station)r   zOut Station))r   zOne way)r   Round)r   r   auto_now_addc                   @      e Zd ZdZdZdS )zRateLists.MetaTrates_ratelistsN__name__
__module____qualname__manageddb_table r   r   2/var/www/html/DRIVERZZ_DRIVER_APIS/rates/models.pyMeta       r   N)r   r   r   r   	AutoField__annotations__	day_typesIntegerFielddaydurationuniform_typesuniform_typestation_typesstation_type
trip_types	trip_type
FloatFieldrateDateTimeField
created_at
updated_atr   r   r   r   r   r      s   
 r   c                   @   V   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j	ddZG dd dZdS )	AdditionalChargesTr      
max_lengthr   c                   @   r   )zAdditionalCharges.MetaTrates_additionalchargesNr   r   r   r   r   r      r   r   N)r   r   r   r   BigAutoFieldr   	CharFieldtitlepricer.   r/   r0   r   r   r   r   r   r2          r2   c                   @   r1   )	TaxesTr   r3   r4   r   c                   @   r   )z
Taxes.MetaTrates_taxesNr   r   r   r   r   r   +   r   r   N)r   r   r   r   r7   r   r8   r9   tax_percentager.   r/   r0   r   r   r   r   r   r<   $   r;   r<   c                   @   sV   e Zd ZejddZe ZejddZ	ejddZ
e Ze ZG dd dZdS )DaytimesTr   r3   r4   c                   @   r   )zDaytimes.MetaTrates_daytimesNr   r   r   r   r   r   7   r   r   N)r   r   r   r   r7   r   r#   day_typer8   
start_timeend_timer.   r/   r0   r   r   r   r   r   r?   /   s    r?   N)	django.dbr   Modelr   r2   r<   r?   r   r   r   r   <module>   s
    