
X·]  ã               @   s~   d  d l  m Z Gd d „  d e j ƒ Z d Z Gd d	 „  d	 e j ƒ Z Gd
 d „  d e j ƒ Z Gd d „  d e j ƒ Z d S)é    )Úmodelsc               @   sq   e  Z d  Z d Z e j d d d d ƒ Z e j ƒ  Z e j ƒ  Z	 e j
 ƒ  Z Gd d „  d ƒ Z d d „  Z d	 S)
ÚArduinoPruebaz#Model definition for ArduinoPrueba.Úauto_nowFÚauto_now_addc               @   s1   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/cbba19/cbba/apps/general/models.pyÚMeta   s
   r   c             C   s   d j  |  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   õ   InformÃ¡ticaõ&   BioestadÃ­stica y DiseÃ±o ExperimentalÚ
Estudianteõ   AgroclimatologÃ­ac               @   s  e  Z d  Z d Z e j ƒ  Z e j d d ƒ Z e j d d ƒ Z	 e j
 d d d d d d d d d	 d
 ƒ Z e j d d ƒ Z e j d d d 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 ƒ Z Gd d „  d ƒ Z d d „  Z d S)Ú
Integrantez Model definition for Integrante.Ú
max_lengthé2   Ú	upload_toZintegrantesÚheight_fieldNÚwidth_fieldÚdefaultz404.jpgÚchoicesÚblankTéþ   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 |  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               @   sƒ   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 d ƒ Z
 Gd d „  d ƒ Z d	 d
 „  Z d S)ÚPublicacionz!Model definition for Publicacion.r   éd   éÈ   r!   Zpublicacionesc               @   s"   e  Z d  Z d Z d Z d Z d S)zPublicacion.Metaz Meta definition for Publicacion.r0   ZPublicacionsN)r   r   r	   r
   r   r   r   r   r   r   r   B   s   r   c             C   s   d j  |  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,   r3   ZtituloZlugarÚ	FileFieldÚarchivor   r   r   r   r   r   r0   :   s   r0   c               @   s_   e  Z d  Z e j d d d d ƒ Z e j d d d d ƒ Z Gd d	 „  d	 ƒ Z d
 d „  Z	 d S)ÚArchivor   r    Ú	help_textz'Nombre orientativo de que es el archivor!   Zarchivosr1   c               @   s   e  Z d  Z d Z d Z d S)zArchivo.Metar6   ZArchivosN)r   r   r	   r   r   r   r   r   r   r   Q   s   r   c             C   s   d j  |  j ƒ S)NzArchivo de {})r   Únombre)r   r   r   r   r   U   s    zArchivo.__str__N)
r   r   r	   r   r,   r8   r4   r5   r   r   r   r   r   r   r6   M   s   r6   N©r   r   ©r   r   ©r   r   ©r   r   )r9   r:   r;   r<   )Ú	django.dbr   ÚModelr   r.   r   r0   r6   r   r   r   r   Ú<module>   s      