
    (8i
                         d dl mZ d dlmZ d dlmZmZ d dlmZmZ  G d de      Z	 G d de	      Z
 G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Zy)    )Decimal)Optional)datedatetime)	BaseModelFieldc                   f   e Zd ZU  edd      Zee   ed<    edd      Zee	   ed<    edd      Z
ee	   ed<    edd	      Zee	   ed
<    edd      Zee   ed<    edd      Zee   ed<    edd      Zee   ed<    edd      Zee	   ed<    edd      Zee	   ed<    G d d      Zy)OmieContratoBaseNID do registrodescriptionid   Código do contratocodigo_contratou   Código do clientecodigo_clienteCNPJcnpju   Data de iníciodata_iniciozData de fimdata_fimValorvalorStatusstatus   Descrição	descricaoc                       e Zd ZdZdZy)OmieContratoBase.ConfigTN__name__
__module____qualname__from_attributesvalidate_assignment     -/srv/www/app-alerta/schemas/omie_contratos.pyConfigr          "r%   r'   )r   r    r!   r   r   r   int__annotations__r   strr   r   r   r   r   r   r   r   r   r'   r$   r%   r&   r
   r
      s    d0@ABA%*4=R%SOXc]S$)$<P$QNHSMQ&9D(3-9"':K"LK$L$T}EHhtnE$Tw?E8G?!$H=FHSM=$T}EIx}E# #r%   r
   c                       e Zd Zy)OmieContratoResponseNr   r    r!   r$   r%   r&   r-   r-          r%   r-   c                       e Zd ZU  edd      Zee   ed<    edd      Zee	   ed<    edd      Z
ee	   ed<    edd	      Zee	   ed
<    edd      Zee   ed<    edd      Zee   ed<    G d d      Zy)OmieContratoServicoBaseNr   r   r   r   r   u   Código do serviçocodigo_servicor   r   r   r   
Quantidade
quantidadec                       e Zd ZdZdZy)OmieContratoServicoBase.ConfigTNr   r$   r%   r&   r'   r6       r(   r%   r'   )r   r    r!   r   r   r   r)   r*   r   r+   r2   r   r   r   r4   r'   r$   r%   r&   r1   r1      s    d0@ABA%*4=R%SOXc]S$)$<Q$RNHSMR$T}EIx}E$Tw?E8G?$)$L$IJ!I# #r%   r1   c                       e Zd Zy)OmieContratoServicoResponseNr.   r$   r%   r&   r8   r8   $   r/   r%   r8   c                       e Zd ZU  edd      Zee   ed<    edd      Zee	   ed<    edd      Z
ee	   ed<    edd	      Zee	   ed
<    edd      Zee	   ed<    G d d      Zy)OmieContratoDepartamentoBaseNr   r   r   r   r   u   Código do departamentocodigo_departamentozNome do departamentonome_departamentor   r   c                       e Zd ZdZdZy)#OmieContratoDepartamentoBase.ConfigTNr   r$   r%   r&   r'   r>   .   r(   r%   r'   )r   r    r!   r   r   r   r)   r*   r   r+   r;   r<   r   r'   r$   r%   r&   r:   r:   '   s{    d0@ABA%*4=R%SOXc]S).tAZ)[#[',T?U'Vx}V$T}EIx}E# #r%   r:   c                       e Zd Zy) OmieContratoDepartamentoResponseNr.   r$   r%   r&   r@   r@   2   r/   r%   r@   c                       e Zd ZU  edd      Zee   ed<    edd      Zee	   ed<    edd      Z
ee   ed<    edd	      Zee	   ed
<    edd      Zee	   ed<    G d d      Zy)OmieContratoVencimentoBaseNr   r   r   r   r   zData de vencimentodata_vencimentozTexto do vencimentotexto_vencimentor   r   c                       e Zd ZdZdZy)!OmieContratoVencimentoBase.ConfigTNr   r$   r%   r&   r'   rF   <   r(   r%   r'   )r   r    r!   r   r   r   r)   r*   r   r+   rC   r   rD   r   r'   r$   r%   r&   rB   rB   5   sz    d0@ABA%*4=R%SOXc]S&+D>R&SOXd^S&+D>S&ThsmT!$H=FHSM=# #r%   rB   c                       e Zd Zy)OmieContratoVencimentoResponseNr.   r$   r%   r&   rH   rH   @   r/   r%   rH   N)decimalr   typingr   r   r   pydanticr   r   r
   r-   r1   r8   r:   r@   rB   rH   r$   r%   r&   <module>rL      su      # %#y #	+ 	
#i 
#	"9 		#9 	#	'C 		# 	#	%? 	r%   