o
    i                     @   sD   d dl mZ ddlmZmZ G dd dejZG dd dejZdS )	    )serializers   )ProductoOportunidadProductoc                   @   s   e Zd ZG dd dZdS )ProductoSerializerc                   @   s   e Zd ZeZdZdS )zProductoSerializer.Meta__all__N)__name__
__module____qualname__r   modelfields r   r   1/var/www/html/crm_dreinet/producto/serializers.pyMeta   s    r   N)r   r	   r
   r   r   r   r   r   r      s    r   c                   @   s&   e Zd ZejddZG dd dZdS )OportunidadProductoSerializerzproducto.nombre)sourcec                   @   s   e Zd ZeZg dZdS )z"OportunidadProductoSerializer.Meta)idoportunidadproductoproducto_nombrecantidadprecio_unitario
created_atN)r   r	   r
   r   r   r   r   r   r   r   r      s    r   N)r   r	   r
   r   ReadOnlyFieldr   r   r   r   r   r   r   	   s    r   N)rest_frameworkr   modelsr   r   ModelSerializerr   r   r   r   r   r   <module>   s    