a
    ¤Q•h¤  ã                   @   sh   d dl mZ d dlmZmZ d dlmZ d dlmZ d dl	m
Z
 G dd„ dejƒZG dd	„ d	ejƒZd
S )é    )Úmodels)Ú	SemeaduraÚCadastroLote)ÚUser)ÚFuncionario)Útimezonec                   @   sŽ   e Zd Zejeejddd�Zejeejddd�Z	ej
ddd�Zejddd�Zejd	d
�Zejeejddd�Zejeejdddd�Ze ¡ ZdS )ÚRepiqueTZrepiques)Ú	on_deleteÚnullÚrelated_nameZrepiques_cadastro_lote©r
   Úblanké
   é   )Ú
max_digitsÚdecimal_placesF©Údefault©r	   r
   r   Zrepiques_funcionario)r	   r
   r   r   N)Ú__name__Ú
__module__Ú__qualname__r   Ú
ForeignKeyr   ÚCASCADEÚ	semeadurar   Zcadastro_loteÚ	DateFieldZdata_repiqueÚDecimalFieldZquantidade_repicadaÚBooleanFieldZ
finalizador   ÚSET_NULLÚregistrado_porr   ÚfuncionarioÚManagerÚobjects© r#   r#   ú+/var/www/sistema_ama/apps/repique/models.pyr      s   r   c                   @   s¢   e Zd Zejeejdd�Zejdddd�Z	ej
ddd�Zej
ejd�Zejejd�Zejeej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 ¡ Zd	S )
ÚLogFinalizacaoRepiqueT)r	   r
   é2   )Ú
max_lengthr
   r   r   r   r   éÿ   N)r   r   r   r   r   r   r   r   Ú	CharFieldÚnumero_loter   Ú	data_loter   ÚnowÚdata_exclusaoÚ	TimeFieldÚhora_exclusaor   r   Úusuario_exclusaoÚnome_usuario_exclusaoÚmotivo_exclusaoÚ	TextFieldÚmotivo_exclusao_outrosr!   r"   r#   r#   r#   r$   r%      s   r%   N)Ú	django.dbr   Zapps.lotes.modelsr   r   Údjango.contrib.auth.modelsr   Zapps.funcionario.modelsr   Údjango.utilsr   ÚModelr   r%   r#   r#   r#   r$   Ú<module>   s   