
    i[                         S SK Jr   " S S\R                  5      r " S S\R                  5      r " S S\R                  5      r " S S	\R                  5      rg
)    )modelsc                   N    \ rS rSr\R
                  " SS9r " S S5      rS rSr	g)	Gerencia      
max_lengthc                        \ rS rSrSrSrSrSrg)Gerencia.Meta   gerenciar   	Gerencias N__name__
__module____qualname____firstlineno__db_tableverbose_nameverbose_name_plural__static_attributes__r       6C:\Users\emanuel.cardona\produccion\usuarios\models.pyMetar      s    !)r   r   c                     U R                   $ Nnombreselfs    r   __str__Gerencia.__str__       {{r   r   N)
r   r   r   r   r   	CharFieldr   r   r"   r   r   r   r   r   r      s!    -F* *
r   r   c                       \ rS rSr\R
                  " \\R                  SS9r\R                  " SS9r
 " S S5      rS rS	rg
)Area   r   )	on_delete	db_column   r   c                        \ rS rSrSrSrSrSrg)	Area.Meta   areau   Áreau   Áreasr   Nr   r   r   r   r   r-      s    &r   r   c                     U R                   $ r   r   r    s    r   r"   Area.__str__   r$   r   r   N)r   r   r   r   r   
ForeignKeyr   CASCADEr   r%   r   r   r"   r   r   r   r   r'   r'      s@      ..H
 -F' '
r   r'   c                       \ rS rSrSr\R                  " SSS9r\R                  " SSS9r\R                  " SSS9r
 " S S	5      rS
 rSrg)LineaProduccion!   ua   Define las líneas de producción disponibles (por ejemplo: líquidos, sólidos, empaques, etc.).   Tr	   unique   )blanknullc                        \ rS rSrSrSrSrSrg)LineaProduccion.Meta'   lineas_produccionu   Línea de Producciónu   Líneas de Producciónr   Nr   r   r   r   r   r>   '   s    &.6r   r   c                     U R                   $ r   r   r    s    r   r"   LineaProduccion.__str__,   r$   r   r   N)r   r   r   r   __doc__r   r%   r   codigo	TextFielddescripcionr   r"   r   r   r   r   r5   r5   !   sJ    kT:FD9F""D9K7 7
r   r5   c            	       h   \ rS rSrSr\R                  " SSS9r\R                  " SS9r	\R                  " SSS	9r
\R                  " S
SS9r\R                  " SSSS9r\R                  " \\R                   SSSSS9r\R                  " \\R                   SSSS9r\R                  " SS9r\R                  " SSS9r\R                  " SSSS9r\R                  " SSSSS9r\R                  " SSS9r\R                  " SSSS9r\R4                  " SS9r\R4                  " SS9r " S S5      rS rSrg )!Usuario0   z)Usuario local de planta o administrativo.T	Documento)r9   r   r+   r      r8   r   z20=Operario, 1=Supervisor, 2=Administrativo, 3=Otro)default	help_textr7   )r	   r;   r<   r/   usuarios)r)   r*   r<   r;   related_name)r)   r<   r;   rO      z1=Activo, 0=Inactivo)r	   r<   r;   zdefault.png)r	   r<   r;   rL   Colombia)r	   rL   )auto_now_add)auto_nowc                   h    \ rS rSrSrSrSr\R                  " S/SS9\R                  " S/S	S9/r	S
r
g)Usuario.Meta\   rN   rH   Usuariosr/   usuarios_area_idx)fieldsnamelinea_produccionusuarios_linea_idxr   N)r   r   r   r   r   r   r   r   Indexindexesr   r   r   r   r   rU   \   s=     (LL/BCLL!3 4;OP
r   r   c                 :    U R                    SU R                   S3$ )Nz ())r   correor    s    r   r"   Usuario.__str__e   s    ++bQ//r   r   N) r   r   r   r   rC   r   BigIntegerFieldccr%   r   ra   SmallIntegerFieldtipocargor2   r'   SET_NULLr/   r5   r[   
contrasenaestadotokenimgpaisciudadDateTimeFieldfecha_creacionfecha_actualizacionr   r"   r   r   r   r   rH   rH   0   s^   3 
		t+	FB-FT:F##FD 4dCE //D ((// !!S1J%%a;QRF$dCE


cD-
XC sJ?D4tDF ))t<N ..=
 
0r   rH   N)	django.dbr   Modelr   r'   r5   rH   r   r   r   <module>rt      sH    	v|| 	6<< "fll 60fll 60r   