o
    Ci                     @   sd   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	dS )    )serializers)modelsc                   @   s   e Zd Ze ZejddddZejddddZejddddZ	ejddddZ
ejddddZejddddZejddddZejdddZejdddZdS )ServerConnect Tdefault
allow_nullallow_blank)r   r   N)r   r   )__name__
__module____qualname__r   IntegerFielddatabase_type	CharFieldhostnameportusernamepassworddatabaseconnection_nameservice_name	FileFieldpathschema r   r   ./var/www/Datamplify/Connections/serializers.pyr      s    r   c                   @   s$   e Zd Ze Ze Ze Z	dS )File_uploadN)
r
   r   r   r   r   	file_typer   	file_pathr   r   r   r   r   r   r      s    r   c                   @   sh   e Zd ZejddZejddddZejddddZejddddZ	ejddddZ
ejddddZdS )Remote_filesr   )r   Tr   N)r
   r   r   r   r   connection_typer   r   r   r   r   r   r   r   r   r   r      s    r   c                   @   s   e Zd Ze Ze ZdS )server_FilesN)r
   r   r   r   r   source_type	file_namer   r   r   r   r!   #   s    r!   N)
rest_frameworkr   Connectionsr   conn_models
Serializerr   r   r   r!   r   r   r   r   <module>   s    	