B
    ~·Mg  ã               @   s\   d dl mZ G dd„ dejƒZdZG dd„ dejƒZG dd„ dejƒZG d	d
„ d
ejƒZdS )é    )Úmodelsc               @   sL   e Zd ZdZejddd�Ze ¡ Ze ¡ Z	e 
¡ ZG dd„ dƒZdd„ ZdS )	ÚArduinoPruebaz#Model definition for ArduinoPrueba.F)Úauto_nowÚauto_now_addc               @   s"   e Zd ZdZdZdZdZdgZdS )zArduinoPrueba.Metaz"Meta definition for ArduinoPrueba.zArduino PruebazArduino PruebasÚfechaz-fechaN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úverbose_nameÚverbose_name_pluralÚget_latest_byÚordering© r   r   ú&/var/www/cbba24/apps/general/models.pyÚMeta   s
   r   c             C   s   d  | j¡S )z(Unicode representation of ArduinoPrueba.zArduino dato {})ÚformatÚid)Úselfr   r   r   Ú__str__   s    zArduinoPrueba.__str__N)r   r   r	   r
   r   ÚDateTimeFieldr   Ú
FloatFieldÚtempZhumÚ	TextFieldZobsr   r   r   r   r   r   r      s   r   ))u   InformÃ¡ticau   InformÃ¡tica)u&   BioestadÃ­stica y DiseÃ±o Experimentalu&   BioestadÃ­stica y DiseÃ±o Experimental)Ú
Estudianter   )u   AgroclimatologÃ­au   AgroclimatologÃ­ac               @   sª   e Zd ZdZe ¡ Zejdd�Zejdd�Z	ej
dddddd�Zejdd�Zejded�Zejdd	d
�Zejdd	d
�Zejdd	d
�Zejdd�ZG dd„ dƒZdd„ ZdS )Ú
Integrantez Model definition for Integrante.é2   )Ú
max_lengthZintegrantesNz404.jpg)Ú	upload_toÚheight_fieldÚwidth_fieldr   Údefault)r   ÚchoicesT)r   Úblankéþ   c               @   s   e Zd ZdZdZdZdgZdS )zIntegrante.MetazMeta definition for Integrante.r   ZIntegrantesÚordenN)r   r   r	   r
   r   r   r   r   r   r   r   r   .   s   r   c             C   s   d  | j| j¡S )z%Unicode representation of Integrante.zIntegrante {} {})r   Ú	apellidosÚnombres)r   r   r   r   r   5   s    zIntegrante.__str__)r   r   r	   r
   r   ÚIntegerFieldr%   Ú	CharFieldr'   r&   Ú
ImageFieldZfotoZfuncionÚcatedrasZcatedraZcampo1Zcampo2Zcampo3Ú
EmailFieldZcorreor   r   r   r   r   r   r      s   r   c               @   sX   e Zd ZdZejdd�Zejdd�Zejdd�Zej	ddd�Z
G dd„ dƒZd	d
„ ZdS )ÚPublicacionz!Model definition for Publicacion.éd   )r   éÈ   Zpublicaciones)r   r   c               @   s   e Zd ZdZdZdZdS )zPublicacion.Metaz Meta definition for Publicacion.r-   ZPublicacionsN)r   r   r	   r
   r   r   r   r   r   r   r   B   s   r   c             C   s   d  | j¡S )z&Unicode representation of Publicacion.zPublicacion de {})r   Úautores)r   r   r   r   r   H   s    zPublicacion.__str__N)r   r   r	   r
   r   r)   r0   ZtituloZlugarÚ	FileFieldÚarchivor   r   r   r   r   r   r-   :   s   r-   c               @   s>   e Zd Zejddd�Zejddd�ZG dd„ dƒZd	d
„ Z	dS )ÚArchivor   z'Nombre orientativo de que es el archivo)r   Ú	help_textZarchivosr.   )r   r   c               @   s   e Zd ZdZdZdS )zArchivo.Metar3   ZArchivosN)r   r   r	   r   r   r   r   r   r   r   Q   s   r   c             C   s   d  | j¡S )NzArchivo de {})r   Únombre)r   r   r   r   r   U   s    zArchivo.__str__N)
r   r   r	   r   r)   r5   r1   r2   r   r   r   r   r   r   r3   M   s   r3   N)Ú	django.dbr   ÚModelr   r+   r   r-   r3   r   r   r   r   Ú<module>   s
   