Ë
    ÛH˜j"h  ã                  ó¸  — d dl mZ d dlmZmZ d dlmZ d dlmZmZ d dl	m
Z
 d dlmZ  G d„ de«      Z G d	„ d
e«      Z G d„ de«      Z G d„ dee«      Z G d„ de«      Z G d„ de«      Z G d„ dee«      Z G d„ de«      Z G d„ de«      Z G d„ de«      Z G d„ dee«      Z G d„ de«      Z G d„ d e«      Z G d!„ d"ee«      Z G d#„ d$e«      Z G d%„ d&e«      Z G d'„ d(ee«      Z G d)„ d*e«      Z G d+„ d,e«      Z G d-„ d.ee«      Z  G d/„ d0e«      Z! G d1„ d2e«      Z" G d3„ d4e!e«      Z# G d5„ d6e«      Z$ G d7„ d8e«      Z% G d9„ d:e$e«      Z& G d;„ d<e«      Z' G d=„ d>e«      Z( G d?„ d@e'e«      Z) G dA„ dBe«      Z* G dC„ dDe«      Z+ G dE„ dFe*e«      Z, G dG„ dHe«      Z- G dI„ dJe«      Z. G dK„ dLe«      Z/ G dM„ dNe«      Z0 G dO„ dPe/e«      Z1 G dQ„ dRe«      Z2 G dS„ dTe«      Z3 G dU„ dVe2e«      Z4 G dW„ dXe«      Z5 G dY„ dZe«      Z6 G d[„ d\e5e«      Z7 G d]„ d^e«      Z8 G d_„ d`e«      Z9 G da„ dbe8e«      Z: G dc„ dde«      Z; G de„ dfe«      Z< G dg„ dhe;e«      Z= G di„ dje«      Z> G dk„ dle«      Z? G dm„ dne>e«      Z@ G do„ dpe«      ZA G dq„ dre«      ZB G ds„ dteAe«      ZC G du„ dve«      ZD G dw„ dxe«      ZE G dy„ dzeDe«      ZF G d{„ d|e«      ZG G d}„ d~e«      ZH G d„ d€eGe«      ZIy�)‚é    )Úannotations)ÚdateÚdatetime)ÚDecimal)ÚFieldÚfield_validator)ÚProcurementStatus)ÚORMModelc                  ó,   — e Zd ZU ded<   ded<   ded<   y)ÚAuditFieldsÚintÚidr   Ú
created_atÚ
updated_atN)Ú__name__Ú
__module__Ú__qualname__Ú__annotations__© ó    ú"backend\app\schemas\procurement.pyr   r      s   … ØƒGØÓØÔr   r   c                  ó¦   — e Zd ZU  edd¬«      Zded<   ded<   ded<    ed¬	«      Zd
ed<    ed«      Zded<   dZ	ded<   e
j                  Zded<   y)ÚDemandCreateé   é2   ©Ú
min_lengthÚ
max_lengthÚstrÚ	demand_noÚ
departmentÚitem_descriptionr   ©Úgtr   Úquantityú0.00r   Úestimated_valueNúdate | NoneÚrequired_byr	   Ústatus)r   r   r   r   r    r   r%   r   r'   r)   r	   Údraftr*   r   r   r   r   r      sU   … Ù a°BÔ7€IˆsÓ7ØƒOØÓÙ˜Q”K€HˆcÓÙ& v›€O�WÓ.Ø#€K�Ó#Ø 1× 7Ñ 7€FÐÔ7r   r   c                  ó€   — e Zd ZU dZded<   dZded<   dZded<    edd¬«      Zded	<   dZ	d
ed<   dZ
ded<   dZded<   y)ÚDemandUpdateNú
str | Noner    r!   r"   r   ©Údefaultr$   ú
int | Noner%   úDecimal | Noner'   r(   r)   úProcurementStatus | Noner*   )r   r   r   r    r   r!   r"   r   r%   r'   r)   r*   r   r   r   r-   r-      sQ   … Ø €IˆzÓ Ø!€J�
Ó!Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø&*€O�^Ó*Ø#€K�Ó#Ø'+€FÐ$Ô+r   r-   c                  ó   — e Zd Zy)Ú
DemandReadN©r   r   r   r   r   r   r5   r5   %   ó   „ Ør   r5   c                  ó  — e Zd ZU  ed¬«      Zded<    edd¬«      Zded	<   d
Zded<   d
Zded<    eddd¬«      Z	ded<   d
Z
ded<   d
Zded<   d
Zded<   d
Zded<   d
Zded<    edd¬«      Zded<   d
Zded<   dZded<   y
)ÚItemDatabaseCreater   r#   r   Úsr_noé   é    r   r   ÚnameNr.   Úname_enÚname_orÚ	EquipmentéP   ©r0   r   r   Ú	item_typeÚitem_type_enÚitem_type_orÚdescriptionÚdescription_enÚdescription_or©r0   Úger%   ÚremarksTÚboolÚ	is_active©r   r   r   r   r:   r   r=   r>   r?   rC   rD   rE   rF   rG   rH   r%   rK   rM   r   r   r   r9   r9   )   sŸ   … Ù˜!”€Eˆ3ÓÙ ¨sÔ3€Dˆ#Ó3Ø€GˆZÓØ€GˆZÓÙ ;¸1ÈÔL€IˆsÓLØ#€L�*Ó#Ø#€L�*Ó#Ø"€K�Ó"Ø!%€N�JÓ%Ø!%€N�JÓ%Ù !¨Ô*€HˆcÓ*Ø€GˆZÓØ€IˆtÔr   r9   c                  ó  — e Zd ZU  edd¬«      Zded<    eddd¬«      Zd	ed
<   dZd	ed<   dZd	ed<    eddd¬«      Z	d	ed<   dZ
d	ed<   dZd	ed<   dZd	ed<   dZd	ed<   dZd	ed<    edd¬«      Zded<   dZd	ed<   dZded<   y)ÚItemDatabaseUpdateNr   r/   r1   r:   r;   r<   rB   r.   r=   r>   r?   rA   rC   rD   rE   rF   rG   rH   rI   r%   rK   úbool | NonerM   rN   r   r   r   rP   rP   9   s¤   … Ù d¨qÔ1€Eˆ:Ó1Ù T°aÀCÔH€Dˆ*ÓHØ€GˆZÓØ€GˆZÓÙ!¨$¸1ÈÔL€IˆzÓLØ#€L�*Ó#Ø#€L�*Ó#Ø"€K�Ó"Ø!%€N�JÓ%Ø!%€N�JÓ%Ù ¨°!Ô4€HˆjÓ4Ø€GˆZÓØ!€Iˆ{Ô!r   rP   c                  ó   — e Zd Zy)ÚItemDatabaseReadNr6   r   r   r   rS   rS   I   r7   r   rS   c                  ó‚  — e Zd ZU  edd¬«      Zded<    ed¬«      Zded<   dZd	ed
<    edd¬«      Zded<   dZ	d	ed<   dZ
ded<    edd¬«      Zded<    edd¬«      Zded<   dZd	ed<   dZd	ed<   dZd	ed<   dZd	ed<   dZd	ed<   dZded<   dZd	ed<   dZd	ed<   dZd	ed<   dZded<    edd¬«      ed„ «       «       Zy) ÚRequisitionItemNr;   rI   r1   Ú	serial_no©r   r   rF   r.   rC   r   r%   Úchallan_numberr(   Úchallan_dateÚquantity_requiredÚquantity_availableÚpresent_conditionÚcondemnation_statusÚcondemnation_date_yearÚjustificationrK   Údate_of_supplyÚcause_of_unserviceabilityÚunserviceable_remarksÚunitzfloat | NoneÚestimated_costÚbefore©Úmodec                ó   — |dv ry|dk(  ry|S )N>   úUnder ProcessÚPendingÚ	CondemnedÚCondemnablezNot ApplicablezNot Condemnabler   ©ÚclsÚvalues     r   Únormalize_condemnation_statusz-RequisitionItem.normalize_condemnation_statusa   s!   € ð Ð=Ñ=Ø ØÐ$Ò$Ø$Øˆr   )r   r   r   r   rV   r   rF   rC   r%   rX   rY   rZ   r[   r\   r]   r^   r_   rK   r`   ra   rb   rc   rd   r   Úclassmethodrp   r   r   r   rU   rU   M   s   … Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø!%€N�JÓ%Ø $€L�+Ó$Ù$)°$¸1Ô$=Ð�zÓ=Ù%*°4¸AÔ%>Ð˜
Ó>Ø$(Ð�zÓ(Ø&*Ð˜Ó*Ø)-Ð˜JÓ-Ø $€M�:Ó$Ø€GˆZÓØ"&€N�KÓ&Ø,0Ð˜zÓ0Ø(,Ð˜:Ó,Ø€Dˆ*ÓØ#'€N�LÓ'áÐ*°Ô:Øñó ó ;ñr   rU   c                  ó¬  — e Zd ZU ded<   dZded<   dZded<   dZded	<   dZded
<   dZded<   dZ	ded<   dZ
ded<   dZded<    ee¬«      Zded<   dZded<    edd¬«      Zded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<    edd¬«      Zded<   dZded<   ej2                  Zd ed!<   dZded"<    edd#¬$«      ed%„ «       «       Zy)&ÚRequisitionCreater   Úrequisition_noNr1   Ú	demand_idr(   Úrequisition_dater.   Úrequested_byÚreceived_fromÚreceived_from_districtÚreceived_from_rangeÚsender_nameÚsender_designation©Údefault_factoryzlist[RequisitionItem]Úrequisition_itemsr"   r   rI   r%   r2   rd   Úprocurement_modeéÿ   ©r0   r   Úprocurement_mode_otherÚbudget_headÚadministrative_approval_dateÚ administrative_approval_quantityÚlifecycle_stager	   Úapproval_statusrK   re   rf   c                ó   — |€g S |S ©Nr   rm   s     r   Údefault_requisition_itemsz+RequisitionCreate.default_requisition_items‚   ó   € ð �]ˆrÐ-¨Ð-r   )r   r   r   r   ru   rv   rw   rx   ry   rz   r{   r|   r   Úlistr   r"   r%   rd   r€   rƒ   r„   r…   r†   r‡   r	   Ú	submittedrˆ   rK   r   rq   r‹   r   r   r   rs   rs   k   s  … ØÓØ €IˆzÓ Ø$(Ð�kÓ(Ø#€L�*Ó#Ø $€M�:Ó$Ø)-Ð˜JÓ-Ø&*Ð˜Ó*Ø"€K�Ó"Ø%)Ð˜
Ó)Ù/4ÀTÔ/JÐÐ,ÓJØ#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø04Ð  +Ó4Ù38ÀÈ!Ô3LÐ$ jÓLØ"&€O�ZÓ&Ø):×)DÑ)D€OÐ&ÓDØ€GˆZÓáÐ(¨xÔ8Øñ.ó ó 9ñ.r   rs   c                  ód  — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<   dZ
ded<   dZded<   dZded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<   dZded <   y)!ÚRequisitionUpdateNr.   rt   r1   ru   r(   rv   rw   rx   ry   rz   r{   r|   zlist[RequisitionItem] | Noner   r"   r   rI   r%   r2   rd   r€   r�   r‚   rƒ   r„   r…   r†   r‡   r3   rˆ   rK   )r   r   r   rt   r   ru   rv   rw   rx   ry   rz   r{   r|   r   r"   r   r%   rd   r€   rƒ   r„   r…   r†   r‡   rˆ   rK   r   r   r   r�   r�   ˆ   sõ   … Ø!%€N�JÓ%Ø €IˆzÓ Ø$(Ð�kÓ(Ø#€L�*Ó#Ø $€M�:Ó$Ø)-Ð˜JÓ-Ø&*Ð˜Ó*Ø"€K�Ó"Ø%)Ð˜
Ó)Ø6:ÐÐ3Ó:Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø04Ð  +Ó4Ù38ÀÈ!Ô3LÐ$ jÓLØ"&€O�ZÓ&Ø04€OÐ-Ó4Ø€GˆZÔr   r�   c                  ó   — e Zd Zy)ÚRequisitionReadNr6   r   r   r   r’   r’       r7   r   r’   c                  ó  — e Zd ZU  edd¬«      Zded<   dZded<    edd	¬
«      Zded<   dZded<   ded<    edd¬«      Z	ded<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚProcurementCaseCreater;   r�   r   r   Úprocurement_case_noNr1   Úrequisition_idr   rI   Úapproved_quantityr2   Úapproved_estimated_costr€   r‚   r.   rƒ   úIn Tendering ProcessÚcase_statusr(   Úmode_selection_dateÚmode_selected_byrQ   Úemd_applicableÚpbg_applicableÚfile_noÚsanction_noÚsanction_dateÚapproving_authorityrK   )r   r   r   r   r•   r   r–   r—   r˜   rƒ   rš   r›   rœ   r�   rž   rŸ   r    r¡   r¢   rK   r   r   r   r”   r”   ¤   sº   … Ù$°¸cÔBÐ˜ÓBØ!%€N�JÓ%Ù$)°$¸1Ô$=Ð�zÓ=Ø.2Ð˜^Ó2ØÓÙ).°tÈÔ)LÐ˜JÓLØ-€K�Ó-Ø'+Ð˜Ó+Ø#'Ð�jÓ'Ø"&€N�KÓ&Ø"&€N�KÓ&Ø€GˆZÓØ"€K�Ó"Ø!%€M�;Ó%Ø&*Ð˜Ó*Ø€GˆZÔr   r”   c                  ó   — e Zd ZU  eddd¬«      Zded<   dZded<    edd	¬
«      Zded<   dZded<   dZ	ded<    edd¬«      Z
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚProcurementCaseUpdateNr;   r�   rB   r.   r•   r1   r–   r   rI   r—   r2   r˜   r€   r‚   rƒ   rš   r(   r›   rœ   rQ   r�   rž   rŸ   r    r¡   r¢   rK   )r   r   r   r   r•   r   r–   r—   r˜   r€   rƒ   rš   r›   rœ   r�   rž   rŸ   r    r¡   r¢   rK   r   r   r   r¤   r¤   ·   sÂ   … Ù&+°DÀQÐSVÔ&WÐ˜ÓWØ!%€N�JÓ%Ù$)°$¸1Ô$=Ð�zÓ=Ø.2Ð˜^Ó2Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ"€K�Ó"Ø'+Ð˜Ó+Ø#'Ð�jÓ'Ø"&€N�KÓ&Ø"&€N�KÓ&Ø€GˆZÓØ"€K�Ó"Ø!%€M�;Ó%Ø&*Ð˜Ó*Ø€GˆZÔr   r¤   c                  ó*   — e Zd ZU dZded<   dZded<   y)ÚProcurementCaseReadFrL   r�   rž   N)r   r   r   r�   r   rž   r   r   r   r¦   r¦   Ê   s   … Ø €N�DÓ Ø €N�DÔ r   r¦   c                  óÀ   — e Zd ZU ded<   dZded<   dZded<   dZd	ed
<   dZded<   dZd	ed<   dZ	ded<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚGeMProcurementCaseCreater   Úprocurement_case_idzProduct / Normal Category Bidr   Úgem_procurement_typeNr.   Ú
gem_bid_nor(   Úgem_bid_dateÚgem_contract_noÚgem_contract_dater2   Úgem_order_valuer1   Ú	vendor_idÚdelivery_statusÚdelivery_delay_reasonÚdelivery_delay_document_pathÚpayment_statusr™   r*   )r   r   r   r   rª   r«   r¬   r­   r®   r¯   r°   r±   r²   r³   r´   r*   r   r   r   r¨   r¨   Ï   s„   … ØÓØ ?Ð˜#Ó?Ø!€J�
Ó!Ø $€L�+Ó$Ø"&€O�ZÓ&Ø%)Ð�{Ó)Ø&*€O�^Ó*Ø €IˆzÓ Ø"&€O�ZÓ&Ø(,Ð˜:Ó,Ø/3Ð  *Ó3Ø!%€N�JÓ%Ø(€FˆCÔ(r   r¨   c                  óÄ   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚGeMProcurementCaseUpdateNr1   r©   r.   rª   r«   r(   r¬   r­   r®   r2   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   r¶   r¶   ß   s‰   … Ø&*Ð˜Ó*Ø'+Ð˜*Ó+Ø!€J�
Ó!Ø $€L�+Ó$Ø"&€O�ZÓ&Ø%)Ð�{Ó)Ø&*€O�^Ó*Ø €IˆzÓ Ø"&€O�ZÓ&Ø(,Ð˜:Ó,Ø/3Ð  *Ó3Ø!%€N�JÓ%Ø€FˆJÔr   r¶   c                  ó   — e Zd Zy)ÚGeMProcurementCaseReadNr6   r   r   r   r¸   r¸   ï   r7   r   r¸   c                  óæ   — e Zd ZU ded<   ded<   dZded<   dZded<   dZded	<   dZded
<   dZded<   dZ	ded<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚETenderCaseCreater   r©   r   Útender_ref_noNr(   Útender_publication_dateÚpre_bid_meeting_dateÚbid_submission_end_dateÚtechnical_bid_opening_dateÚfinancial_bid_opening_dater2   rd   r.   Útechnical_evaluation_statusÚfinancial_evaluation_statusr1   Úl1_vendor_idÚaward_approval_dateÚloa_noÚloa_dateÚcontract_nor™   r*   )r   r   r   r   r¼   r½   r¾   r¿   rÀ   rd   rÁ   rÂ   rÃ   rÄ   rÅ   rÆ   rÇ   r*   r   r   r   rº   rº   ó   s¢   … ØÓØÓØ+/Ð˜[Ó/Ø(,Ð˜+Ó,Ø+/Ð˜[Ó/Ø.2Ð Ó2Ø.2Ð Ó2Ø%)€N�NÓ)Ø.2Ð Ó2Ø.2Ð Ó2Ø#€L�*Ó#Ø'+Ð˜Ó+Ø€FˆJÓØ €HˆkÓ Ø"€K�Ó"Ø(€FˆCÔ(r   rº   c                  óî   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚETenderCaseUpdateNr1   r©   r.   r»   r(   r¼   r½   r¾   r¿   rÀ   r2   rd   rÁ   rÂ   rÃ   rÄ   rÅ   rÆ   rÇ   r*   )r   r   r   r©   r   r»   r¼   r½   r¾   r¿   rÀ   rd   rÁ   rÂ   rÃ   rÄ   rÅ   rÆ   rÇ   r*   r   r   r   rÉ   rÉ     s«   … Ø&*Ð˜Ó*Ø $€M�:Ó$Ø+/Ð˜[Ó/Ø(,Ð˜+Ó,Ø+/Ð˜[Ó/Ø.2Ð Ó2Ø.2Ð Ó2Ø%)€N�NÓ)Ø.2Ð Ó2Ø.2Ð Ó2Ø#€L�*Ó#Ø'+Ð˜Ó+Ø€FˆJÓØ €HˆkÓ Ø"€K�Ó"Ø€FˆJÔr   rÉ   c                  ó   — e Zd Zy)ÚETenderCaseReadNr6   r   r   r   rË   rË     r7   r   rË   c                  ó¼   — e Zd ZU ded<   ded<   dZded<   dZded<   dZded	<   dZd
ed<   dZd
ed<   dZ	d
ed<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   y)ÚGlobalTenderCaseCreater   r©   r   Úglobal_tender_ref_noNr.   Úcountry_of_vendorÚforeign_vendor_nameÚforeign_currencyr2   Úexchange_rateÚbid_value_foreign_currencyÚbid_value_inrrÁ   Úcommercial_evaluation_statusr(   Úapproval_daterÇ   r™   r*   )r   r   r   r   rÏ   rÐ   rÑ   rÒ   rÓ   rÔ   rÁ   rÕ   rÖ   rÇ   r*   r   r   r   rÍ   rÍ     s‚   … ØÓØÓØ$(Ð�zÓ(Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ø$(€M�>Ó(Ø15Ð Ó5Ø$(€M�>Ó(Ø.2Ð Ó2Ø/3Ð  *Ó3Ø!%€M�;Ó%Ø"€K�Ó"Ø(€FˆCÔ(r   rÍ   c                  óÄ   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded<   dZ	d	ed
<   dZ
d	ed<   dZd	ed<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚGlobalTenderCaseUpdateNr1   r©   r.   rÎ   rÏ   rÐ   rÑ   r2   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   r   r   rØ   rØ   -  sŒ   … Ø&*Ð˜Ó*Ø'+Ð˜*Ó+Ø$(Ð�zÓ(Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ø$(€M�>Ó(Ø15Ð Ó5Ø$(€M�>Ó(Ø.2Ð Ó2Ø/3Ð  *Ó3Ø!%€M�;Ó%Ø"€K�Ó"Ø€FˆJÔr   rØ   c                  ó   — e Zd Zy)ÚGlobalTenderCaseReadNr6   r   r   r   rÚ   rÚ   =  r7   r   rÚ   c                  ó¦   — e Zd ZU ded<   dZded<   dZded<   dZded<    edd	¬
«      Zded<   dZ	ded<   dZ
ded<   dZded<   dZded<   dZded<   y)ÚLPCProcurementCaseCreater   r©   Nr.   Úlpc_meeting_nor(   Úlpc_meeting_dateÚcommittee_membersr   rI   r1   Úquotation_countÚlowest_vendor_idÚcomparative_statement_pathÚrecommendation_daterÖ   r™   r   r*   )r   r   r   r   rÝ   rÞ   rß   r   rà   rá   râ   rã   rÖ   r*   r   r   r   rÜ   rÜ   A  sn   … ØÓØ!%€N�JÓ%Ø$(Ð�kÓ(Ø$(Ð�zÓ(Ù"'°¸Ô";€O�ZÓ;Ø#'Ð�jÓ'Ø-1Ð 
Ó1Ø'+Ð˜Ó+Ø!%€M�;Ó%Ø(€FˆCÔ(r   rÜ   c                  óª   — e Zd ZU dZded<   dZded<   dZded<   dZded<    edd	¬
«      Z	ded<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   y)ÚLPCProcurementCaseUpdateNr1   r©   r.   rÝ   r(   rÞ   rß   r   rI   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å   N  ss   … Ø&*Ð˜Ó*Ø!%€N�JÓ%Ø$(Ð�kÓ(Ø$(Ð�zÓ(Ù"'°¸Ô";€O�ZÓ;Ø#'Ð�jÓ'Ø-1Ð 
Ó1Ø'+Ð˜Ó+Ø!%€M�;Ó%Ø€FˆJÔr   rå   c                  ó   — e Zd Zy)ÚLPCProcurementCaseReadNr6   r   r   r   rç   rç   [  r7   r   rç   c                  óŠ   — e Zd ZU ded<   dZded<   dZded<    edd¬	«      Zd
ed<   dZd
ed<   dZ	ded<   dZ
ded<   dZded<   y)ÚOpenMarketCaseCreater   r©   Nr.   Úprocurement_justificationr(   Úmarket_survey_dater   rI   r1   rà   Úselected_vendor_idrâ   rÖ   r™   r   r*   )r   r   r   r   rê   rë   r   rà   rì   râ   rÖ   r*   r   r   r   ré   ré   _  sY   … ØÓØ,0Ð˜zÓ0Ø&*Ð˜Ó*Ù"'°¸Ô";€O�ZÓ;Ø%)Ð˜
Ó)Ø-1Ð 
Ó1Ø!%€M�;Ó%Ø(€FˆCÔ(r   ré   c                  óŽ   — e Zd ZU dZded<   dZded<   dZded<    edd¬	«      Zded
<   dZ	ded<   dZ
ded<   dZded<   dZded<   y)ÚOpenMarketCaseUpdateNr1   r©   r.   rê   r(   rë   r   rI   rà   rì   râ   rÖ   r*   )r   r   r   r©   r   rê   rë   r   rà   rì   râ   rÖ   r*   r   r   r   rî   rî   j  s^   … Ø&*Ð˜Ó*Ø,0Ð˜zÓ0Ø&*Ð˜Ó*Ù"'°¸Ô";€O�ZÓ;Ø%)Ð˜
Ó)Ø-1Ð 
Ó1Ø!%€M�;Ó%Ø€FˆJÔr   rî   c                  ó   — e Zd Zy)ÚOpenMarketCaseReadNr6   r   r   r   rð   rð   u  r7   r   rð   c                  ól   — e Zd ZU ded<   dZded<   dZded<   dZded<   dZded	<   dZd
ed<   dZ	ded<   y)ÚOtherProcurementCaseCreater   r©   Nr.   Úother_procurement_typeÚprocurement_reference_noÚprocurement_descriptionr1   r°   r(   rÖ   r™   r   r*   )
r   r   r   r   ró   rô   rõ   r°   rÖ   r*   r   r   r   rò   rò   y  sG   … ØÓØ)-Ð˜JÓ-Ø+/Ð˜jÓ/Ø*.Ð˜ZÓ.Ø €IˆzÓ Ø!%€M�;Ó%Ø(€FˆCÔ(r   rò   c                  óp   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded<   dZ	d	ed
<   dZ
ded<   y)ÚOtherProcurementCaseUpdateNr1   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÷   ƒ  sL   … Ø&*Ð˜Ó*Ø)-Ð˜JÓ-Ø+/Ð˜jÓ/Ø*.Ð˜ZÓ.Ø €IˆzÓ Ø!%€M�;Ó%Ø€FˆJÔr   r÷   c                  ó   — e Zd Zy)ÚOtherProcurementCaseReadNr6   r   r   r   rù   rù   �  r7   r   rù   c                  óž   — e Zd ZU  edd¬«      Zded<    ed¬«      Zded<   dZd	ed
<   dZd	ed<   dZ	d	ed<    edd¬«      Z
ded<   dZd	ed<   y)Ú
SampleItemNr;   rI   r1   rV   rW   r   rF   r.   ÚmakeÚmodelÚ
make_modelr   r%   rc   )r   r   r   r   rV   r   rF   rü   rý   rþ   r%   rc   r   r   r   rû   rû   ‘  s[   … Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*Ôr   rû   c                  ó‚   — e Zd ZU  edd¬«      Zded<    ed¬«      Zded<   dZd	ed
<    edd¬«      Zded<   dZ	d	ed<   y)Ú
TenderItemNr;   rI   r1   rV   rW   r   rF   r.   rC   r   r%   rc   )
r   r   r   r   rV   r   rF   rC   r%   rc   r   r   r   r   r   ›  sG   … Ù!¨$°1Ô5€IˆzÓ5Ù¨Ô*€K�Ó*Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*Ôr   r   c                  ó   — e Zd ZU  edd¬«      Zded<   ded<   dZded<   dZded	<   dZd
ed<   dZ	ded<    ee
¬«      Zded<   dZd
ed<    edd¬«      Zded<   dZded<   dZd
ed<   dZded<   dZded<   dZded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZd
ed<   dZd
ed<   dZded <   dZded!<   dZd
ed"<   dZded#<   dZded$<   d%Zded&<   ej@                  Z!d'ed(<    e"dd)¬*«      e#d+„ «       «       Z$y),ÚTenderBidCreateNr;   rI   r1   rV   r   Ú	tender_nor–   r©   r.   Útitler(   Útender_dater}   zlist[TenderItem]Útender_itemsÚ	item_namer   r%   r2   rd   r„   Úbid_published_dateÚbid_closed_dater¿   Úproduct_demo_dateÚtechnical_evaluation_dateÚtechnical_qualified_biddersrÀ   Úl1_bidder_nameÚcontract_numberÚcontract_dateÚamountrK   Úpublication_dateÚclosing_datezOpen TenderÚbid_typer	   r*   re   rf   c                ó   — |€g S |S rŠ   r   rm   s     r   Údefault_tender_itemsz$TenderBidCreate.default_tender_itemsÀ  rŒ   r   )%r   r   r   r   rV   r   r–   r©   r  r  r�   r  r  r%   rd   r„   r  r	  r¿   r
  r  r  rÀ   r  r  r  r  rK   r  r  r  r	   Úin_progressr*   r   rq   r  r   r   r   r  r  £  sV  … Ù!¨$°1Ô5€IˆzÓ5ØƒNØ!%€N�JÓ%Ø&*Ð˜Ó*Ø€Eˆ:ÓØ#€K�Ó#Ù%*¸4Ô%@€LÐ"Ó@Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø"€K�Ó"Ø&*Ð˜Ó*Ø#'€O�[Ó'Ø.2Ð Ó2Ø%)Ð�{Ó)Ø-1Ð˜{Ó1Ù.3¸DÀQÔ.GÐ ÓGØ.2Ð Ó2Ø!%€N�JÓ%Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø€GˆZÓØ$(Ð�kÓ(Ø $€L�+Ó$Ø!€HˆcÓ!Ø 1× =Ñ =€FÐÓ=á�^¨(Ô3Øñ.ó ó 4ñ.r   r  c                  ó¸  — e Zd ZU  edd¬«      Zded<   dZded<   dZded<   dZded	<   dZ	ded
<   dZ
ded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded <   dZded!<   dZded"<   dZded#<   dZd$ed%<   y)&ÚTenderBidUpdateNr;   rI   r1   rV   r.   r  r–   r©   r  r(   r  zlist[TenderItem] | Noner  r  r   r%   r2   rd   r„   r  r	  r¿   r
  r  r  rÀ   r  r  r  r  rK   r  r  r  r3   r*   ) r   r   r   r   rV   r   r  r–   r©   r  r  r  r  r%   rd   r„   r  r	  r¿   r
  r  r  rÀ   r  r  r  r  rK   r  r  r  r*   r   r   r   r  r  Æ  s/  … Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø!%€N�JÓ%Ø&*Ð˜Ó*Ø€Eˆ:ÓØ#€K�Ó#Ø,0€LÐ)Ó0Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø%)€N�NÓ)Ø"€K�Ó"Ø&*Ð˜Ó*Ø#'€O�[Ó'Ø.2Ð Ó2Ø%)Ð�{Ó)Ø-1Ð˜{Ó1Ù.3¸DÀQÔ.GÐ ÓGØ.2Ð Ó2Ø!%€N�JÓ%Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø€GˆZÓØ$(Ð�kÓ(Ø $€L�+Ó$Ø€HˆjÓØ'+€FÐ$Ô+r   r  c                  ó   — e Zd Zy)ÚTenderBidReadNr6   r   r   r   r  r  ä  r7   r   r  c                  óN  — e Zd ZU dZded<   dZded<    edd¬«      Zded<   dZded	<   dZ	d
ed<   dZ
ded<   dZd
ed<   dZded<   ded<   dZded<   dZded<   dZd
ed<   dZded<   dZded<   dZd
ed<   dZd
ed<   dZd
ed<   dZded<   dZded<   dZded<   dZd
ed<   dZded<   y) Ú	EMDCreateNr1   Ú	tender_idr©   r;   rI   rV   r.   Úemd_unique_idr(   Ú
entry_dateÚtender_numberr  r  r   Úbidder_nameÚemd_formÚemd_noÚemd_dater2   r  Úissuing_branchÚbank_confirmation_dateÚexpiry_dateÚreturned_dateÚreturn_detailsrK   Úinstrument_noÚreceived_daterj   Úrefund_status)r   r   r   r  r   r©   r   rV   r  r  r   r  r  r"  r#  r$  r  r%  r&  r'  r(  r)  rK   r*  r+  r,  r   r   r   r  r  è  sã   … Ø €IˆzÓ Ø&*Ð˜Ó*Ù!¨$°1Ô5€IˆzÓ5Ø $€M�:Ó$Ø"€J�Ó"Ø $€M�:Ó$Ø#€K�Ó#Ø €IˆzÓ ØÓØ€HˆjÓØ€FˆJÓØ €HˆkÓ Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø!%€M�;Ó%Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø!%€M�;Ó%Ø"€M�3Ô"r   r  c                  óR  — e Zd ZU dZded<   dZded<    edd¬«      Zded<   dZded	<   dZ	d
ed<   dZ
ded<   dZd
ed<   dZded<   dZded<   dZded<   dZded<   dZd
ed<   dZded<   dZded<   dZd
ed<   dZd
ed<   dZd
ed<   dZded<   dZded<   dZded<   dZd
ed<   dZded<   y)Ú	EMDUpdateNr1   r  r©   r;   rI   rV   r.   r  r(   r  r   r  r  r!  r"  r#  r$  r2   r  r%  r&  r'  r(  r)  rK   r*  r+  r,  )r   r   r   r  r   r©   r   rV   r  r  r   r  r  r!  r"  r#  r$  r  r%  r&  r'  r(  r)  rK   r*  r+  r,  r   r   r   r.  r.    sç   … Ø €IˆzÓ Ø&*Ð˜Ó*Ù!¨$°1Ô5€IˆzÓ5Ø $€M�:Ó$Ø"€J�Ó"Ø $€M�:Ó$Ø#€K�Ó#Ø €IˆzÓ Ø"€K�Ó"Ø€HˆjÓØ€FˆJÓØ €HˆkÓ Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø!%€M�;Ó%Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø!%€M�;Ó%Ø $€M�:Ô$r   r.  c                  ó   — e Zd Zy)ÚEMDReadNr6   r   r   r   r0  r0    r7   r   r0  c                  óŽ  — e Zd ZU  edd¬«      Zded<   dZded<   dZded<   dZded	<   dZ	d
ed<    ee
¬«      Zded<   dZded<    edd¬«      Zded<   dZd
ed<   ded<   dZded<   dZded<   dZded<   dZd
ed<   dZded<   dZd
ed<   dZded<   dZded<   dZd
ed<   ej2                  Zded<    edd ¬!«      ed"„ «       «       Zy)#ÚSampleRegisterCreateNr;   rI   r1   rV   r  r©   r.   r   r(   r  r}   zlist[SampleItem]Úsample_itemsr  r   r%   Údemonstration_dater   r!  rü   rý   rþ   Úreceipt_dateÚrecipient_nameÚreturn_daterK   Úsample_descriptionr+  r	   Úevaluation_statusre   rf   c                ó   — |€g S |S rŠ   r   rm   s     r   Údefault_sample_itemsz)SampleRegisterCreate.default_sample_items4  rŒ   r   )r   r   r   r   rV   r   r  r©   r   r  r�   r3  r  r%   r4  rü   rý   rþ   r5  r6  r7  rK   r8  r+  r	   rŽ   r9  r   rq   r;  r   r   r   r2  r2    s  … Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø&*Ð˜Ó*Ø $€M�:Ó$Ø#€K�Ó#Ù%*¸4Ô%@€LÐ"Ó@Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø&*Ð˜Ó*ØÓØ€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ø $€L�+Ó$Ø!%€N�JÓ%Ø#€K�Ó#Ø€GˆZÓØ%)Ð˜
Ó)Ø!%€M�;Ó%Ø+<×+FÑ+FÐÐ(ÓFá�^¨(Ô3Øñ.ó ó 4ñ.r   r2  c                  óF  — e Zd ZU  edd¬«      Zded<   dZded<   dZded<   dZded	<   dZ	d
ed<   dZ
ded<   dZded<    edd¬«      Zded<   dZd
ed<   dZded<   dZded<   dZded<   dZded<   dZd
ed<   dZded<   dZd
ed<   dZded<   dZded<   dZd
ed<   dZded<   y)ÚSampleRegisterUpdateNr;   rI   r1   rV   r  r©   r.   r   r(   r  zlist[SampleItem] | Noner3  r  r   r%   r4  r!  rü   rý   rþ   r5  r6  r7  rK   r8  r+  r3   r9  )r   r   r   r   rV   r   r  r©   r   r  r3  r  r%   r4  r!  rü   rý   rþ   r5  r6  r7  rK   r8  r+  r9  r   r   r   r=  r=  :  sÞ   … Ù!¨$°1Ô5€IˆzÓ5Ø €IˆzÓ Ø&*Ð˜Ó*Ø $€M�:Ó$Ø#€K�Ó#Ø,0€LÐ)Ó0Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø&*Ð˜Ó*Ø"€K�Ó"Ø€Dˆ*ÓØ€Eˆ:ÓØ!€J�
Ó!Ø $€L�+Ó$Ø!%€N�JÓ%Ø#€K�Ó#Ø€GˆZÓØ%)Ð˜
Ó)Ø!%€M�;Ó%Ø26ÐÐ/Ô6r   r=  c                  ó   — e Zd Zy)ÚSampleRegisterReadNr6   r   r   r   r?  r?  Q  r7   r   r?  c                  óx   — e Zd ZU dZded<   dZded<   ded<   ded<    edd	¬
«      Zded<   dZded<   dZ	ded<   y)ÚTechnicalEvaluationCreateNr1   r  r©   r   r!  Ú	evaluatorr   éd   )rJ   Úler   Úscorerj   Úresultr.   rK   )
r   r   r   r  r   r©   r   rE  rF  rK   r   r   r   rA  rA  U  sG   … Ø €IˆzÓ Ø&*Ð˜Ó*ØÓØƒNÙ˜! Ô$€Eˆ3Ó$Ø€FˆCÓØ€GˆZÔr   rA  c                  ó‚   — e Zd ZU dZded<   dZded<   dZded<   dZded<    eddd	¬
«      Z	ded<   dZ
ded<   dZded<   y)ÚTechnicalEvaluationUpdateNr1   r  r©   r.   r!  rB  r   rC  )r0   rJ   rD  rE  rF  rK   )r   r   r   r  r   r©   r!  rB  r   rE  rF  rK   r   r   r   rH  rH  _  sR   … Ø €IˆzÓ Ø&*Ð˜Ó*Ø"€K�Ó"Ø €IˆzÓ Ù d¨q°SÔ9€Eˆ:Ó9Ø€FˆJÓØ€GˆZÔr   rH  c                  ó   — e Zd Zy)ÚTechnicalEvaluationReadNr6   r   r   r   rJ  rJ  i  r7   r   rJ  c                  óh   — e Zd ZU dZded<   dZded<   ded<   ded<   dZd	ed
<   dZded<   dZded<   y)ÚFinancialEvaluationCreateNr1   r  r©   r   r!  r   Úquoted_amountr2   Únegotiated_amountÚrankrj   rF  )	r   r   r   r  r   r©   rN  rO  rF  r   r   r   rL  rL  m  sB   … Ø €IˆzÓ Ø&*Ð˜Ó*ØÓØÓØ(,Ð�~Ó,Ø€Dˆ*ÓØ€FˆCÔr   rL  c                  óp   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<   dZ
ded<   y)ÚFinancialEvaluationUpdateNr1   r  r©   r.   r!  r2   rM  rN  rO  rF  )r   r   r   r  r   r©   r!  rM  rN  rO  rF  r   r   r   rQ  rQ  w  sJ   … Ø €IˆzÓ Ø&*Ð˜Ó*Ø"€K�Ó"Ø$(€M�>Ó(Ø(,Ð�~Ó,Ø€Dˆ*ÓØ€FˆJÔr   rQ  c                  ó   — e Zd Zy)ÚFinancialEvaluationReadNr6   r   r   r   rS  rS  �  r7   r   rS  c                  ó6  — e Zd ZU ded<   dZded<   dZded<   dZded<    edd	¬
«      Zded<   dZ	ded<   dZ
ded<   dZded<   dZded<   dZded<   ded<   dZded<    edd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   ej*                  Zded<   y)ÚPurchaseOrderCreater   Úpo_noNr1   r  r©   r.   r€   r�   r‚   rƒ   Útender_reference_nor(   Útender_reference_dater2   rd   Úprocess_initiate_dater„   Úvendor_namer"   r   rI   r%   rc   Úpo_dateÚpo_valueÚdelivery_due_dater	   r*   )r   r   r   r   r  r©   r€   r   rƒ   rW  rX  rd   rY  r„   r"   r%   rc   r[  r\  r]  r	   Úapprovedr*   r   r   r   rU  rU  …  sÊ   … ØƒJØ €IˆzÓ Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ&*Ð˜Ó*Ø)-Ð˜;Ó-Ø%)€N�NÓ)Ø)-Ð˜;Ó-Ø"€K�Ó"ØÓØ#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*ÓØ€Gˆ[ÓØ#€HˆnÓ#Ø%)Ð�{Ó)Ø 1× :Ñ :€FÐÔ:r   rU  c                  ó*  — e Zd ZU dZded<   dZded<   dZded<   dZded<    edd¬	«      Z	ded
<   dZ
ded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<    edd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚPurchaseOrderUpdateNr.   rV  r1   r  r©   r€   r�   r‚   rƒ   rW  r(   rX  r2   rd   rY  r„   rZ  r"   r   rI   r%   rc   r[  r\  r]  r3   r*   )r   r   r   rV  r   r  r©   r€   r   rƒ   rW  rX  rd   rY  r„   rZ  r"   r%   rc   r[  r\  r]  r*   r   r   r   r`  r`  š  sÍ   … Ø€Eˆ:ÓØ €IˆzÓ Ø&*Ð˜Ó*Ø#'Ð�jÓ'Ù).°tÈÔ)LÐ˜JÓLØ&*Ð˜Ó*Ø)-Ð˜;Ó-Ø%)€N�NÓ)Ø)-Ð˜;Ó-Ø"€K�Ó"Ø"€K�Ó"Ø#'Ð�jÓ'Ù ¨°!Ô4€HˆjÓ4Ø€Dˆ*ÓØ€Gˆ[ÓØ#€HˆnÓ#Ø%)Ð�{Ó)Ø'+€FÐ$Ô+r   r`  c                  ó   — e Zd Zy)ÚPurchaseOrderReadNr6   r   r   r   rb  rb  ¯  r7   r   rb  c                  ó`  — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<    e
dd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded <   y)!ÚPerformanceSecurityCreateNr1   Úpo_idr©   r(   r  r.   r  r  r  r   rI   r%   rZ  r!  Úsecurity_formÚsecurity_numberÚsecurity_dater2   r  r%  r&  r'  Úwarranty_periodr7  r)  rK   r*  Úvalid_untilÚHeldr   Úrelease_status©r   r   r   re  r   r©   r  r  r  r  r   r%   rZ  r!  rf  rg  rh  r  r%  r&  r'  ri  r7  r)  rK   r*  rj  rl  r   r   r   rd  rd  ³  sñ   … Ø€Eˆ:ÓØ&*Ð˜Ó*Ø"€J�Ó"Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø"€K�Ó"Ø"€K�Ó"Ø $€M�:Ó$Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø"&€O�ZÓ&Ø#€K�Ó#Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø#€K�Ó#Ø €N�CÔ r   rd  c                  ó`  — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZded	<   dZ	ded
<    e
dd¬«      Zded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   dZded<   y)ÚPerformanceSecurityUpdateNr1   re  r©   r(   r  r.   r  r  r  r   rI   r%   rZ  r!  rf  rg  rh  r2   r  r%  r&  r'  ri  r7  r)  rK   r*  rj  rl  rm  r   r   r   ro  ro  Í  sñ   … Ø€Eˆ:ÓØ&*Ð˜Ó*Ø"€J�Ó"Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø €IˆzÓ Ù ¨°!Ô4€HˆjÓ4Ø"€K�Ó"Ø"€K�Ó"Ø $€M�:Ó$Ø"&€O�ZÓ&Ø!%€M�;Ó%Ø!€FˆNÓ!Ø!%€N�JÓ%Ø*.Ð˜KÓ.Ø#€K�Ó#Ø"&€O�ZÓ&Ø#€K�Ó#Ø!%€N�JÓ%Ø€GˆZÓØ $€M�:Ó$Ø#€K�Ó#Ø!%€N�JÔ%r   ro  c                  ó   — e Zd Zy)ÚPerformanceSecurityReadNr6   r   r   r   rq  rq  ç  r7   r   rq  c                  ó„   — e Zd ZU dZded<   dZded<   dZded<    ed¬«      Zd	ed
<   e	j                  Zded<   dZded<   y)ÚDeliveryAcceptanceCreateNr1   re  r©   r(   Údelivery_dater   )rJ   r   Úaccepted_quantityr	   Úacceptance_statusr.   rK   )r   r   r   re  r   r©   rt  r   ru  r	   rŽ   rv  rK   r   r   r   rs  rs  ë  sL   … Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!%€M�;Ó%Ù" aœ[Ð�sÓ(Ø+<×+FÑ+FÐÐ(ÓFØ€GˆZÔr   rs  c                  ór   — e Zd ZU dZded<   dZded<   dZded<    edd¬«      Zded	<   dZ	d
ed<   dZ
ded<   y)ÚDeliveryAcceptanceUpdateNr1   re  r©   r(   rt  r   rI   ru  r3   rv  r.   rK   )r   r   r   re  r   r©   rt  r   ru  rv  rK   r   r   r   rx  rx  ô  sI   … Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!%€M�;Ó%Ù$)°$¸1Ô$=Ð�zÓ=Ø26ÐÐ/Ó6Ø€GˆZÔr   rx  c                  ó   — e Zd Zy)ÚDeliveryAcceptanceReadNr6   r   r   r   rz  rz  ý  r7   r   rz  c                  ót   — e Zd ZU dZded<   dZded<   ded<   dZded<   d	ed
<    ed«      Zd	ed<   dZ	ded<   y)ÚPaymentTrackingCreateNr1   re  r©   r   Ú
invoice_nor(   Úinvoice_dater   Úinvoice_amountr&   Úpaid_amountrj   r´   )
r   r   r   re  r   r©   r~  r   r€  r´   r   r   r   r|  r|    sD   … Ø€Eˆ:ÓØ&*Ð˜Ó*ØƒOØ $€L�+Ó$ØÓÙ" 6›?€K�Ó*Ø#€N�CÔ#r   r|  c                  óp   — e Zd ZU dZded<   dZded<   dZded<   dZded<   dZd	ed
<   dZ	d	ed<   dZ
ded<   y)ÚPaymentTrackingUpdateNr1   re  r©   r.   r}  r(   r~  r2   r  r€  r´   )r   r   r   re  r   r©   r}  r~  r  r€  r´   r   r   r   r‚  r‚    sI   … Ø€Eˆ:ÓØ&*Ð˜Ó*Ø!€J�
Ó!Ø $€L�+Ó$Ø%)€N�NÓ)Ø"&€K�Ó&Ø!%€N�JÔ%r   r‚  c                  ó   — e Zd Zy)ÚPaymentTrackingReadNr6   r   r   r   r„  r„    r7   r   r„  N)JÚ
__future__r   r   r   Údecimalr   Úpydanticr   r   Úapp.models.enumsr	   Úapp.schemas.commonr
   r   r   r-   r5   r9   rP   rS   rU   rs   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  r  r  r.  r0  r2  r=  r?  rA  rH  rJ  rL  rQ  rS  rU  r`  rb  rd  ro  rq  rs  rx  rz  r|  r‚  r„  r   r   r   Ú<module>rŠ     s*  ðÝ "ß #Ý ç +å .Ý 'ô�(ô ô8�8ô 8ô,�8ô ,ô	�˜{ô 	ô˜ô ô "˜ô "ô 	Ð)¨;ô 	ô�hô ô<.˜ô .ô:˜ô ô0	Ð'¨ô 	ô˜Hô ô&˜Hô ô&!Ð/°ô !ô
)˜xô )ô ˜xô ô 	Ð5°{ô 	ô)˜ô )ô&˜ô ô&	Ð'¨ô 	ô)˜Xô )ô ˜Xô ô 	Ð1°;ô 	ô
)˜xô 
)ô
˜xô 
ô	Ð5°{ô 	ô)˜8ô )ô˜8ô ô	Ð-¨{ô 	ô) ô )ô ô ô	Ð9¸;ô 	ô�ô ô�ô ô .�hô  .ôF,�hô ,ô<	�O [ô 	ô#�ô #ô2%�ô %ô2	ˆi˜ô 	ô.˜8ô .ô87˜8ô 7ô.	Ð-¨{ô 	ô ô ô ô ô	Ð7¸ô 	ô ô ô ô ô	Ð7¸ô 	ô;˜(ô ;ô*,˜(ô ,ô*	Ð+¨[ô 	ô! ô !ô4& ô &ô4	Ð7¸ô 	ô˜xô ô˜xô ô	Ð5°{ô 	ô$˜Hô $ô&˜Hô &ô	Ð/°õ 	r   