Ë
    HåCiß  ã                   ó˜   — d Z ddlmZ ddlmZ ddlmZ ddlmZmZm	Z	  G d„ de«      Z
 G d„ d	e
«      Z G d
„ de«      Z G d„ de«      Zy)u-   
SchÃ©mas Pydantic pour les annonces de dons
é    )Ú	BaseModel)ÚOptional)Údatetime)ÚDonationCategoryÚDonationConditionÚListingStatusc                   óÎ   — e Zd ZU eed<   eed<   eed<   eed<   dZeed<   eed<   dZ	e
e   ed	<   dZe
e   ed
<   dZe
e   ed<   dZe
e   ed<   dZeed<   dZeed<   dZe
e   ed<   y)ÚDonationListingBaseÚtitleÚdescriptionÚcategoryÚ	conditioné   ÚquantityÚlocationNÚlatitudeÚ	longitudeÚcontact_phoneÚcontact_preferenceFÚrequires_pickupÚcan_deliverÚdelivery_radius_km)Ú__name__Ú
__module__Ú__qualname__ÚstrÚ__annotations__r   r   r   Úintr   r   Úfloatr   r   r   r   Úboolr   r   © ó    úD/home/www/lebenam.kofcorporation.com/app/schemas/donation_listing.pyr
   r
   
   s„   … ØƒJØÓØÓØ Ó Ø€HˆcÓØƒMØ $€Hˆhu‰oÓ$Ø!%€Iˆx˜‰Ó%Ø#'€M8˜C‘=Ó'Ø(,Ð˜ ™Ó,Ø!€OTÓ!Ø€KÓØ*.Ð˜ ™Ô.r"   r
   c                   ó   — e Zd Zy)ÚDonationListingCreateN)r   r   r   r!   r"   r#   r%   r%      s   „ Ør"   r%   c                   ó&  — e Zd ZU dZee   ed<   dZee   ed<   dZee	   ed<   dZ
ee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed	<   dZee   ed
<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   dZee   ed<   y)ÚDonationListingUpdateNr   r   r   r   r   r   r   r   r   r   r   r   r   Ústatus)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Í   … Ø€Eˆ8C‰=ÓØ!%€K˜#‘Ó%Ø+/€HˆhÐ'Ñ(Ó/Ø-1€IˆxÐ)Ñ*Ó1Ø"€Hˆhs‰mÓ"Ø"€Hˆhs‰mÓ"Ø $€Hˆhu‰oÓ$Ø!%€Iˆx˜‰Ó%Ø#'€M8˜C‘=Ó'Ø(,Ð˜ ™Ó,Ø&*€OX˜d‘^Ó*Ø"&€K˜$‘Ó&Ø*.Ð˜ ™Ó.Ø&*€FˆH]Ñ#Ô*r"   r'   c                   ó  — e Zd ZU eed<   eed<   eed<   eed<   eed<   eed<   eed<   eed<   ee	   ed	<   ee	   ed
<   ee   ed<   ee   ed<   ee   ed<   e
ed<   e
ed<   ee	   ed<   eed<   eed<   ee   ed<   ee   ed<    G d„ d«      Zy)ÚDonationListingResponseÚidÚuser_idr   r   r   r   r   r   r   r   Úphotosr   r   r   r   r   r(   Ú
created_atÚ
updated_atÚ
expires_atc                   ó   — e Zd ZdZy)úDonationListingResponse.ConfigTN)r   r   r   Úfrom_attributesr!   r"   r#   ÚConfigr2   B   s   „ Ø‰r"   r4   N)r   r   r   r   r   r   r   r   r   r   r    r   r   r4   r!   r"   r#   r*   r*   ,   s¡   … ØƒGØƒLØƒJØÓØÓØ Ó ØƒMØƒMØu‰oÓØ˜‰ÓØS‰MÓØ˜C‘=Ó Ø  ™Ó%ØÓØÓØ  ™Ó'ØÓØÓØ˜Ñ"Ó"Ø˜Ñ"Ó"÷ò r"   r*   N)Ú__doc__Úpydanticr   Útypingr   r   Úapp.models.donation_listingr   r   r   r
   r%   r'   r*   r!   r"   r#   ú<module>r9      sL   ðñõ Ý Ý ß ZÑ Zô/˜)ô /ô	Ð/ô 	ô+˜Iô +ô ˜iõ r"   