o
    a¥Îi    ã                   @   sö  d dl mZ ddlT ddlT d dlT 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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G d-d.„ d.ejƒZG d/d0„ d0ej	ƒZG d1d2„ d2ejƒZ G d3d4„ d4ej	ƒZ!G d5d6„ d6ejƒZ"d7S )8é    )Úgenericsé   )Ú*)ÚDjangoFilterBackendc                   @   ó&   e Zd ZegZegZej 	¡ Z
eZdS )ÚFAQCategoryListMobileViewN)Ú__name__Ú
__module__Ú__qualname__ÚAPIKeyAuthenticationÚauthentication_classesr   Úfilter_backendsÚFAQCategoryÚobjectsÚallÚquerysetÚFAQCategorySerializerÚserializer_class© r   r   ú^/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/mama_care_api/information/views.pyr   
   ó
    
r   c                   @   ó(   e Zd ZeegZegZej	 
¡ ZeZdS )ÚFAQCategoryListDashboardViewN)r   r	   r
   r   ÚDashboardTokenAuthenticationr   r   r   r   r   r   r   r   r   r   r   r   r   r      ó
    
r   c                   @   ó,   e Zd ZeegZegZdZe	j
 ¡ ZeZdS )ÚFAQCategoryDetailDashboardViewÚidN)r   r	   r
   r   r   r   r   r   Úlookup_fieldr   r   r   r   r   r   r   r   r   r   r      ó    
r   c                   @   r   )Ú$FAQCategoryLanguageListDashboardViewN)r   r	   r
   r   r   r   r   r   ÚFAQCategoryLanguager   r   r   ÚFAQCategoryLanguageSerializerr   r   r   r   r   r        r   r    c                   @   r   )Ú&FAQCategoryLanguageDetailDashboardViewr   N)r   r	   r
   r   r   r   r   r   r   r!   r   r   r   r"   r   r   r   r   r   r#   '   r   r#   c                   @   r   )ÚFAQListMobileViewN)r   r	   r
   r   r   r   r   ÚFAQr   r   r   ÚFAQSerializerr   r   r   r   r   r$   2   r   r$   c                   @   r   )ÚFAQListDashboardViewN)r   r	   r
   r   r   r   r   r   r%   r   r   r   r&   r   r   r   r   r   r'   9   r   r'   c                   @   r   )ÚFAQDetailDashboardViewr   N)r   r	   r
   r   r   r   r   r   r   r%   r   r   r   r&   r   r   r   r   r   r(   @   r   r(   c                   @   r   )ÚFAQLanguageListDashboardViewN)r   r	   r
   r   r   r   r   r   ÚFAQLanguager   r   r   ÚFAQLanguageSerializerr   r   r   r   r   r)   H   r   r)   c                   @   r   )ÚFAQLanguageDetailDashboardViewr   N)r   r	   r
   r   r   r   r   r   r   r*   r   r   r   r+   r   r   r   r   r   r,   O   r   r,   c                   @   s,   e Zd ZegZegZdgZej	 
¡ ZeZdS )ÚInformationTypeListMobileViewÚkeyNameN)r   r	   r
   r   r   r   r   Úfilterset_fieldsÚInformationTyper   r   r   ÚInformationTypeSerializerr   r   r   r   r   r-   X   s    
r-   c                   @   r   )Ú InformationTypeListDashboardViewN)r   r	   r
   r   r   r   r   r   r0   r   r   r   r1   r   r   r   r   r   r2   _   r   r2   c                   @   r   )Ú"InformationTypeDetailDashboardViewr   N)r   r	   r
   r   r   r   r   r   r   r0   r   r   r   r1   r   r   r   r   r   r3   f   r   r3   c                   @   s"   e Zd ZeegZej ¡ Z	e
ZdS )ÚInformationListDashboardViewN)r   r	   r
   r   r   r   ÚInformationr   r   r   ÚInformationSerializerr   r   r   r   r   r4   o   s    
r4   c                   @   s&   e Zd ZeegZdZej 	¡ Z
eZdS )ÚInformationDetailDashboardViewr   N)r   r	   r
   r   r   r   r   r5   r   r   r   r6   r   r   r   r   r   r7   u   s
    
r7   c                   @   ó4   e Zd ZeegZegZddgZe	Z
ej ¡ ZeZdS )Ú$InformationLanguageListDashboardViewÚinformationIdÚ
languageIdN)r   r	   r
   r   r   r   r   r   r/   ÚStandardSetPaginationÚpagination_classÚInformationLanguager   r   r   ÚInformationLanguageSerializerr   r   r   r   r   r9   {   ó    
r9   c                   @   ó4   e Zd ZeegZegZddgZdZ	e
j ¡ ZeZdS )Ú&InformationLanguageDetailDashboardViewr:   r;   r   N)r   r	   r
   r   r   r   r   r   r/   r   r>   r   r   r   r?   r   r   r   r   r   rB   …   r@   rB   c                   @   ó2   e Zd ZeegZegZdgZe	Z
ej ¡ ZeZdS )ÚSectionListDashboardViewr:   N)r   r	   r
   r   r   r   r   r   r/   r<   r=   ÚSectionr   r   r   ÚSectionSerializerr   r   r   r   r   rD   ‘   ó    
rD   c                   @   ó2   e Zd ZeegZegZdgZdZ	e
j ¡ ZeZdS )ÚSectionDetailDashboardViewr:   r   N)r   r	   r
   r   r   r   r   r   r/   r   rE   r   r   r   rF   r   r   r   r   r   rI   ›   rG   rI   c                   @   r8   )Ú SectionLanguageListDashboardViewÚ	sectionIdr;   N)r   r	   r
   r   r   r   r   r   r/   r<   r=   ÚSectionLanguager   r   r   ÚSectionLanguageSerializerr   r   r   r   r   rJ   ¤   r@   rJ   c                   @   rA   )Ú"SectionLanguageDetailDashboardViewrK   r;   r   N)r   r	   r
   r   r   r   r   r   r/   r   rL   r   r   r   rM   r   r   r   r   r   rN   ®   r@   rN   c                   @   rC   )ÚContentListDashboardViewrK   N)r   r	   r
   r   r   r   r   r   r/   r<   r=   ÚContentr   r   r   ÚContentSerializerr   r   r   r   r   rO   »   rG   rO   c                   @   rH   )ÚContentDetailDashboardViewrK   r   N)r   r	   r
   r   r   r   r   r   r/   r   rP   r   r   r   rQ   r   r   r   r   r   rR   Å   rG   rR   c                   @   r8   )Ú ContentLanguageListDashboardViewÚ	contentIdr;   N)r   r	   r
   r   r   r   r   r   r/   r<   r=   ÚContentLanguager   r   r   ÚContentLanguageSerializerr   r   r   r   r   rS   Ï   r@   rS   c                   @   rA   )Ú"ContentLanguageDetailDashboardViewrT   r;   r   N)r   r	   r
   r   r   r   r   r   r/   r   rU   r   r   r   rV   r   r   r   r   r   rW   Ù   r@   rW   N)#Úrest_frameworkr   ÚmodelsÚserializersÚcommon.viewsÚdjango_filters.rest_frameworkr   ÚListAPIViewr   ÚListCreateAPIViewr   ÚRetrieveUpdateDestroyAPIViewr   r    r#   r$   r'   r(   r)   r,   r-   r2   r3   r4   r7   r9   rB   rD   rI   rJ   rN   rO   rR   rS   rW   r   r   r   r   Ú<module>   s<    		

	



