o
    œèdiÐ  ã                   @   s`   d dl mZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 G dd„ de
ƒZG dd	„ d	e
ƒZd
S )é    )Úmodels)Úinsurance_filters)Úinsurance_serializers)ÚIsAdminToAllowCRUD)ÚBaseModelViewSetc                   @   ó6   e Zd ZdZefZejZe	j
j ¡ ZejZg d¢ZdS )ÚInsuranceCompanyModelViewSetaw  
    A viewset for handling CRUD operations on InsuranceCompanyMaster instances.

    This viewset supports the standard CRUD operations - Create, Retrieve,
    Update, and Delete - for the InsuranceCompanyMaster model.

    Attributes:
        permission_classes (tuple): A tuple of permission classes.
        serializer_class: The serializer class for the InsuranceCompanyMaster model.
        queryset: The queryset containing all InsuranceCompanyMaster instances.
        filterset_class: The filterset class for supporting custom filtering.
        http_method_names (list): List of HTTP methods allowed on this viewset.
    ©ÚgetÚpostÚpatchÚdeleteN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpermission_classesr   Z!InsuranceCompanyMasterSerializersÚserializer_classÚmaster_modelsÚInsuranceCompanyMasterÚobjectsÚallÚquerysetr   ZInsuranceCompanyListFilterÚfilterset_classÚhttp_method_names© r   r   ú\/var/www/html/evchargy.com/django-station-ev/station_ev/apps/master/views/insurance_views.pyr   	   ó    r   c                   @   r   )ÚInsuranceTypeModelViewSetak  
    A viewset for handling CRUD operations on InsuranceTypeMaster instances.

    This viewset supports the standard CRUD operations - Create, Retrieve,
    Update, and Delete - for the InsuranceTypeMaster model.

    Attributes:
        permission_classes (tuple): A tuple of permission classes.
        serializer_class: The serializer class for the InsuranceTypeMaster model.
        queryset: The queryset containing all InsuranceTypeMaster instances.
        filterset_class: The filterset class for supporting custom filtering.
        http_method_names (list): List of HTTP methods allowed on this viewset.
    r	   N)r   r   r   r   r   r   r   ZInsuranceTypeMasterSerializersr   r   ÚInsuranceTypeMasterr   r   r   r   ZInsuranceTypeListFilterr   r   r   r   r   r   r      r   r   N)Zapps.masterr   r   Zapps.master.filtersr   Zapps.master.serializersr   Úbase.permissionsr   Ú
base.viewsr   r   r   r   r   r   r   Ú<module>   s    