B
    gƈa,
                 @   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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               @   s6   e Zd ZejdddZejdddZejdddZdS )aboutCompanyz About the companyi  )
max_lengthzCompany MissionzCompany VsionN)__name__
__module____qualname__r   	TextFieldZ
about_infoZmissionZvission r	   r	   */var/www/html/quarry.kay.ke/home/models.pyr      s   r   c               @   s<   e Zd ZejdddZejdddZejddZ	dd Z
d	S )
Product   F)r   nulli  ZproductImages)	upload_toc             C   s   | j S )N)product_title)selfr	   r	   r
   __str__   s    zProduct.__str__N)r   r   r   r   	CharFieldr   r   Zproduct_description
ImageFieldZproduct_imager   r	   r	   r	   r
   r      s   r   c               @   s>   e Zd ZejdddZejdddZejdddZdd	 Z	d
S )EmployeezEmployee Full Nmae   )r   zEmployee TitlezPicture of EmployeeZstaffProfiles)r   c             C   s   | j S )N)employee_name)r   r	   r	   r
   r      s    zEmployee.__str__N)
r   r   r   r   r   r   Zemployee_titler   Zemployee_imager   r	   r	   r	   r
   r      s   r   c               @   sJ   e Z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
d	d
 ZdS )AwardzAward Title2   )r   z
Awarded ByzAward Descriptiond   T)r   c             C   s   | j S )N)award_title)r   r	   r	   r
   r   !   s    zAward.__str__N)r   r   r   r   r   r   Z
Awarded_byr   Zaward_description	DateFielddater   r	   r	   r	   r
   r      s
   r   c               @   sL   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dd ZdS )	Message   )r   
   r   r   c             C   s   | j S )N)client_name)r   r	   r	   r
   r   +   s    zMessage.__str__N)r   r   r   r   r   r    
EmailFieldZclient_emailZclient_contactsubjectr   messager   r	   r	   r	   r
   r   $   s   r   c               @   s:   e Zd ZejdddZedZejdddZdd Z	d	S )
DetailLocationr   )r   ZEmailzPhone Numberr   c             C   s   | j S )N)email)r   r	   r	   r
   r   3   s    zDetail.__str__N)
r   r   r   r   r   locationr!   r&   Zcontactr   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jddZejddZ	ejddZ
ejddZdS )SettingF)defaultN)r   r   r   r   BooleanFieldZabout_sectionZproduct_sectionZemployees_sectionZawards_sectionZcommitment_sectionZcontact_sectionZgaleryr	   r	   r	   r
   r(   6   s   r(   c               @   s0   e Zd ZejdddZejdddZdd ZdS )	UnPrincipleZTitler   )r   Descriptioni  c             C   s   | j S )N)title)r   r	   r	   r
   r   C   s    zUnPrinciple.__str__N)	r   r   r   r   r   r-   r   descriptionr   r	   r	   r	   r
   r+   ?   s   r+   c               @   s   e Zd ZejdddZdS )GlobalCompactr,   i  )r   N)r   r   r   r   r   r.   r	   r	   r	   r
   r/   F   s   r/   c               @   s   e Zd ZejddZdS )GaleryZgallery)r   N)r   r   r   r   r   imager	   r	   r	   r
   r0   I   s   r0   N)	django.dbr   Modelr   r   r   r   r   r$   r(   r+   r/   r0   r	   r	   r	   r
   <module>   s   	
	