o
    z.h7                     @   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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 )    )models)RichTextFieldc                   @   s@   e Zd Zg dZejdeddZejddZe Z	dd Z
d	S )
FAQ))generalGeneral)productProduct)paymentPayment)shipmentShipment   r   )
max_lengthchoicesdefault   r   c                 C   s   | j S )N)questionself r   4/var/www/html/Testing_prj/Navya-Bakers/cms/models.py__str__   s   zFAQ.__str__N)__name__
__module____qualname__CATEGORY_CHOICESr   	CharFieldcategoryr   	TextFieldanswerr   r   r   r   r   r      s    r   c                   @   s*   e Zd Ze ZejddddZdd ZdS )AboutUszabout_us_images/T)	upload_tonullblankc                 C      dS )NzAbout Us Contentr   r   r   r   r   r         zAboutUs.__str__N)	r   r   r   r   contentr   
ImageFieldimager   r   r   r   r   r!      s    r!   c                   @      e Zd Ze Zdd ZdS )PrivacyPolicyc                 C   r%   )NzPrivacy Policy Contentr   r   r   r   r   r   "   r&   zPrivacyPolicy.__str__Nr   r   r   r   r'   r   r   r   r   r   r+          r+   c                   @   r*   )TermsAndConditionsc                 C   r%   )NzTerms and Conditions Contentr   r   r   r   r   r   )   r&   zTermsAndConditions.__str__Nr,   r   r   r   r   r.   &   r-   r.   c                   @   s(   e Zd ZejddZe Zdd ZdS )	ContactUsr   r   c                 C   r%   )Nz
Contact Usr   r   r   r   r   r   0   r&   zContactUs.__str__N)	r   r   r   r   r   phone_number
EmailFieldemailr   r   r   r   r   r/   ,   s    r/   c                   @   s$   e Zd Ze Ze Zdd ZdS )AppUrlc                 C   r%   )NzApp URL Linksr   r   r   r   r   r   7   r&   zAppUrl.__str__N)r   r   r   r   URLFieldplaystore_linkappstore_linkr   r   r   r   r   r3   3   s    r3   N)	django.dbr   ckeditor.fieldsr   Modelr   r!   r+   r.   r/   r3   r   r   r   r   <module>   s    