Ë
    ³J)iö  ã                   ój  — 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mZ  e«       Zej!                  dd¬	«       ee«       ee«      fd
ej"                  dedefd„«       Zej'                  dd¬	«       ee«       ee«      fdededefd„«       Zej-                  dd¬	«       ee«       ee«      fd
eej.                     dedefd„«       Zej3                  dd¬	«       ee«       ee«      fdededefd„«       Zej'                  dd¬	«       ee«       ee«      fdededefd„«       Zy)é    )ÚList)Ú	APIRouterÚDepends)ÚSession)ÚschemaÚservice)Úget_db)ÚJWTPayloadSchemaÚget_current_studentz/create_branding_attributesT)Úresponse_model_exclude_noneÚrequestÚdbÚtokenc              ƒ   óh   K  — t        j                  ||«      j                  | «      ƒ d {  –—† S 7 Œ­w©N)r   ÚBrandingAttributesServiceÚcreate_branding_attributes©r   r   r   s      úI/var/www/html/retail-simulation-api/app/api/branding_attributes/router.pyr   r   
   ó+   è ø€ ä×2Ñ2°2°eÓ<×WÑWÐX_Ó`×`Ð`Ð`úó   ‚)2«0¬2z#/get_branding_attributes/{group_id}Úgroup_idc              ƒ   óh   K  — t        j                  ||«      j                  | «      ƒ d {  –—† S 7 Œ­wr   )r   r   Úget_branding_attributes©r   r   r   s      r   r   r      s+   è ø€ ä×2Ñ2°2°eÓ<×TÑTÐU]Ó^×^Ð^Ð^úr   z/update_branding_attributesc              ƒ   óh   K  — t        j                  ||«      j                  | «      ƒ d {  –—† S 7 Œ­wr   )r   r   Úupdate_branding_attributesr   s      r   r   r      r   r   z/delete_branding_attributesÚbrand_idc              ƒ   óh   K  — t        j                  ||«      j                  | «      ƒ d {  –—† S 7 Œ­wr   )r   r   Údelete_branding_attributes)r   r   r   s      r   r    r       s+   è ø€ ä×2Ñ2°2°eÓ<×WÑWÐX`Óa×aÐaÐaúr   z/get_brand_attribute/{group_id}c              ƒ   óh   K  — t        j                  ||«      j                  | «      ƒ d {  –—† S 7 Œ­wr   )r   r   Úget_brand_attributer   s      r   r"   r"      s+   è ø€ ä×2Ñ2°2°eÓ<×PÑPÐQYÓZ×ZÐZÐZúr   N)Útypingr   Úfastapir   r   Úsqlalchemy.ormr   Úapp.api.branding_attributesr   r   Úapp.database.main.mysqlr	   Úapp.dependency.authanticationr
   r   Úbranding_attributes_routerÚpostÚBrandingAttributesCreater   ÚgetÚintr   ÚputÚBrandingAttributesUpdater   Údeleter    r"   © ó    r   ú<module>r3      sþ  ðÝ ß &Ý "ß 7Ý *ß Oá&›[Ð à× Ñ Ð!>Ð\`Ð ÓaÙ[bÐciÓ[jñ  FMð  Naó  Fbñ a¨V×-LÑ-Lð aÐQXð að  sCò aó bðað ×ÑÐ EÐcgÐÓhÙ=DÀV»_Ñgnð  pCó  hDñ _¨3ð _°7ð _ÐTdò _ó ið_ð ×ÑÐ =Ð[_ÐÓ`ÙahÐioÓapñ  LSð  Tgó  Lhñ a¨T°&×2QÑ2QÑ-Rð aÐW^ð að  yIò aó aðað ×"Ñ"Ð#@Ð^bÐ"ÓcÙ@GÈÃÑjqð  sFó  kGñ b¨cð b°gð bÐWgò bó dðbð ×ÑÐ AÐ_cÐÓdÙ9@À»ÑcjÐk~Ócñ [ sð [¨wð [ÐP`ò [ó eñ[r2   