o
    4%i                     @   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
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                   @   r*   )ReturnPolicyc                 C   r%   )NzReturn Policy Contentr   r   r   r   r   r   /   r&   zReturnPolicy.__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   6   r&   zContactUs.__str__N)	r   r   r   r   r   phone_number
EmailFieldemailr   r   r   r   r   r0   2   s    r0   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   =   r&   zAppUrl.__str__N)r   r   r   r   URLFieldplaystore_linkappstore_linkr   r   r   r   r   r4   9   s    r4   N)	django.dbr   ckeditor.fieldsr   Modelr   r!   r+   r.   r/   r0   r4   r   r   r   r   <module>   s    