+
    èc«j3  ã                  óÊ   € ^ RI Ht ^ RIHt ^ RIHtHtHtHtH	t	H
t
Ht ^ RIHtHt ^ RIHt ^ RIHt  ! R R]]4      t ! R	 R
]]4      t ! R R]]4      t ! R R]]4      tR# )é    )Úannotations)ÚDecimal)ÚBooleanÚ
ForeignKeyÚIntegerÚNumericÚStringÚTextÚUniqueConstraint)ÚMappedÚmapped_column)ÚBase)ÚTimestampMixinc                  ó^  € ] tR t^t$ Rt]! RRR7      3t]! ]RR7      t	R]
R&   ]! ]! ^(4      R	RR
7      tR]
R&   ]! ]! ^ÿ4      R	RR
7      tR]
R&   ]! ]! ^ÿ4      RR7      tR]
R&   ]! ]! ^ÿ4      RR7      tR]
R&   ]! ]! ^(4      R	RR
7      tR]
R&   ]! ]! ^ 4      R	R7      tR]
R&   ]! ]! ^ 4      4      tR]
R&   ]! ]! ^ 4      4      tR]
R&   ]! ]! ^ 4      R	R7      tR]
R&   ]! ]! ^ 4      R	RR
7      tR]
R&   ]! ]! ^ 4      RR7      tR]
R&   ]! ]! ^ 4      RR7      tR]
R&   ]! ]! ^ 4      R	R7      tR]
R&   ]! ]! ^ 4      4      tR]
R&   ]! ]! ^ 4      4      tR]
R&   ]! ]! ^P4      4      tR]
R&   ]! ]! ^P4      4      tR]
R&   ]! ]4      tR]
R&   ]! ]4      tR]
R &   ]! ] RR	R!7      t!R"]
R#&   R$t"R%# )&Ú
BudgetHeadÚbudget_headsÚ	head_codeÚuq_budget_heads_head_code©ÚnameT©Úprimary_keyúMapped[int]ÚidF©ÚnullableÚindexúMapped[str]Údisplay_name©r   úMapped[str | None]Údisplay_name_enÚdisplay_name_orÚcategory_code©r   Úcategory_nameÚcategory_name_enÚcategory_name_orÚfund_sourceÚexpenditure_headÚexpenditure_head_enÚexpenditure_head_orÚitem_componentÚitem_component_enÚitem_component_orÚquantityÚunitÚpurpose_descriptionÚremarks©Údefaultr   úMapped[bool]Ú	is_active© N)#Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__tablename__r   Ú__table_args__r   r   r   Ú__annotations__r	   r   r   r"   r#   r$   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r
   r2   r3   r   r7   Ú__static_attributes__r8   ó    Ú4/var/www/html/proc/backend/app/models/master_data.pyr   r      sÕ  ‡ Ø"€Má˜Ð+FÔGð€Nñ $ G¸Ô>€BˆÓ>Ù*©6°"«:ÀÈTÔR€Iˆ{ÓRÙ -©f°S«kÀEÐQUÔ V€L�+ÓVÙ*7¹¸s»È4Ô*P€OÐ'ÓPÙ*7¹¸s»È4Ô*P€OÐ'ÓPÙ!.©v°b«zÀEÐQUÔ!V€M�;ÓVÙ!.©v°c«{ÀUÔ!K€M�;ÓKÙ+8¹À»Ó+EÐÐ(ÓEÙ+8¹À»Ó+EÐÐ(ÓEÙ,©V°C«[À5ÔI€K�ÓIÙ$1±&¸³+ÈÐUYÔ$ZÐ�kÓZÙ.;¹FÀ3»KÈtÔ.TÐÐ+ÓTÙ.;¹FÀ3»KÈtÔ.TÐÐ+ÓTÙ"/±°s³ÀeÔ"L€N�KÓLÙ,9¹&À»+Ó,FÐÐ)ÓFÙ,9¹&À»+Ó,FÐÐ)ÓFÙ#0±¸³Ó#<€HÐ Ó<Ù,©V°B«ZÓ8€DÐ
Ó8Ù.;¸DÓ.AÐÐ+ÓAÙ"/°Ó"5€GÐÓ5Ù+¨G¸TÈEÔR€Iˆ|×RrA   r   c                  ón  € ] tR t^)t$ RtRt]! RRRRR7      3t]! ]	RR	7      t
R
]R&   ]! ]! ^	4      RRR7      tR]R&   ]! ]! ^(4      RRR7      tR]R&   ]! ]! ^(4      RRR7      tR]R&   ]! ]! ^´4      RR7      tR]R&   ]! ]! ^^4      R^ R7      tR]R&   ]! ]4      tR]R&   ]! ]RRR7      tR]R&   RtR# )ÚReportBudgetAllocationz?Financial-year allocation used by budget and programme reports.Úreport_budget_allocationsÚfinancial_yearÚexpenditure_groupr   Úuq_report_budget_allocationr   Tr   r   r   Fr   r   r%   Ú	head_name)r   r5   zMapped[Decimal]Úallocation_amountr!   r3   r4   r6   r7   r8   N)r9   r:   r;   r<   Ú__doc__r=   r   r>   r   r   r   r?   r	   rF   rG   r   rI   r   rJ   r
   r3   r   r7   r@   r8   rA   rB   rD   rD   )   sÑ   ‡ ÙIà/€MáÐ)Ð+>ÀÐRoÔpð€Nñ $ G¸Ô>€BˆÓ>Ù"/±°q³	ÀEÐQUÔ"V€N�KÓVÙ%2±6¸"³:ÈÐUYÔ%ZÐ�{ÓZÙ*©6°"«:ÀÈTÔR€Iˆ{ÓRÙ*©6°#«;ÀÔG€Iˆ{ÓGÙ)6±w¸rÀ1³~ÐPUÐ_`Ô)aÐ�ÓaÙ"/°Ó"5€GÐÓ5Ù+¨G¸TÈEÔR€Iˆ|×RrA   rD   c                  ó  € ] tR t^;t$ RtRt]! RRRR7      3t]! ]	RR7      t
R	]R
&   ]! ]! R4      RRR7      tR	]R&   ]! ]! ^(4      RRR7      tR]R&   ]! ]! ^´4      RRR7      tR]R&   ]! ]4      tR]R&   ]! ]RRR7      tR]R&   RtR# )ÚFinancialExpenditureHeadz?Expenditure-head master linked to a financial-year budget head.Úfinancial_expenditure_headsÚbudget_head_idr   Úuq_financial_expenditure_headr   Tr   r   r   zreport_budget_allocations.idFr   r   rI   r!   r3   r4   r6   r7   r8   N)r9   r:   r;   r<   rK   r=   r   r>   r   r   r   r?   r   rO   r	   r   rI   r
   r3   r   r7   r@   r8   rA   rB   rM   rM   ;   s£   ‡ ÙIà1€MáÐ)¨;Ð=\Ô]ð€Nñ $ G¸Ô>€BˆÓ>Ù"/ÙÐ1Ó2¸UÈ$ô#€N�Kó ñ +©6°"«:ÀÈTÔR€Iˆ{ÓRÙ*©6°#«;ÀÈdÔS€Iˆ{ÓSÙ"/°Ó"5€GÐÓ5Ù+¨G¸TÈEÔR€Iˆ|×RrA   rM   c                  ó�  € ] tR t^Mt$ Rt]! RRR7      3t]! ]RR7      t	R]
R&   ]! ]R	RR
7      tR]
R&   ]! ]! ^ 4      R	RR
7      tR]
R&   ]! ]! ^ 4      RR7      tR]
R&   ]! ]! ^ 4      RR7      tR]
R&   ]! ]! ^x4      R	RR
7      tR]
R&   ]! ]! ^x4      RR7      tR]
R&   ]! ]! ^x4      RR7      tR]
R&   ]! ]! ^x4      R	RR
7      tR]
R&   ]! ]! ^x4      RR7      tR]
R&   ]! ]! ^x4      RR7      tR]
R&   ]! ]! ^ÿ4      R	RR
7      tR]
R&   ]! ]! ^ÿ4      RR7      tR]
R&   ]! ]! ^ÿ4      RR7      tR]
R&   ]! ]RR	R7      tR]
R&   RtR# )ÚOFESEstablishmentÚofes_establishmentsÚsr_noÚuq_ofes_establishments_sr_nor   Tr   r   r   Fr   r   r   r    r!   Úname_enÚname_orÚdistrictÚdistrict_enÚdistrict_orÚ
range_nameÚrange_name_enÚrange_name_orr   r"   r#   r4   r6   r7   r8   N)r9   r:   r;   r<   r=   r   r>   r   r   r   r?   rT   r	   r   rV   rW   rX   rY   rZ   r[   r\   r]   r   r"   r#   r   r7   r@   r8   rA   rB   rR   rR   M   s_  ‡ Ø)€Má˜Ð'EÔFð€Nñ $ G¸Ô>€BˆÓ>Ù& w¸ÀdÔK€Eˆ;ÓKÙ%¡f¨S£k¸EÈÔN€Dˆ+ÓNÙ"/±°s³À4Ô"H€GÐÓHÙ"/±°s³À4Ô"H€GÐÓHÙ)©&°«+ÀÈTÔR€HˆkÓRÙ&3±F¸3³KÀtÔ&L€KÐ#ÓLÙ&3±F¸3³KÀtÔ&L€KÐ#ÓLÙ+©F°3«KÀ%ÈtÔT€J�ÓTÙ(5±f¸S³kÈÔ(N€MÐ%ÓNÙ(5±f¸S³kÈÔ(N€MÐ%ÓNÙ -©f°S«kÀEÐQUÔ V€L�+ÓVÙ*7¹¸s»È4Ô*P€OÐ'ÓPÙ*7¹¸s»È4Ô*P€OÐ'ÓPÙ+¨G¸TÈEÔR€Iˆ|×RrA   rR   N)Ú
__future__r   Údecimalr   Ú
sqlalchemyr   r   r   r   r	   r
   r   Úsqlalchemy.ormr   r   Úapp.db.sessionr   Úapp.models.procurementr   r   rD   rM   rR   r8   rA   rB   Ú<module>rd      s]   ðÝ "å ç \× \Ñ \ß 0å Ý 1ôS��~ô Sô:S˜T >ô Sô$S˜t ^ô Sô$S˜˜nö SrA   