o
    ȟ1i                     @   s   d dl m Z mZ d dlmZmZmZ d dlmZ d dlm	Z	 G dd deZ
G dd deZG d	d
 d
eZG dd deZG dd deZdS )    )datetimedate)	BaseModel
ConfigDictfield_validator)Optional)Enumc                   @   s*   e Zd ZU eed< eed< dZeed< dS )GiftCardCreateamountvalidate_dateT	is_activeN)__name__
__module____qualname__float__annotations__r   r   bool r   r   /app/schema/gift_card.pyr	      s   
 r	   c                   @   s>   e Zd ZU dZee ed< dZee ed< dZ	ee
 ed< dS )GiftCardUpdateNr
   r   r   )r   r   r   r
   r   r   r   r   r   r   r   r   r   r   r   r      s   
 r   c                   @   sT   e Zd ZU eed< eed< dZeed< dZe	e ed< e
ed< e
ed< ed	d
ZdS )GiftCardid	user_typeFis_usedN
is_used_by
created_at
updated_atT)from_attributes)r   r   r   intr   strr   r   r   r   r   r   model_configr   r   r   r   r      s   
 r   c                   @   s   e Zd ZU dZee ed< dS )GiftCardResponseNdata)r   r   r   r"   r   r   r   r   r   r   r   r!      s   
 r!   c                   @   s   e Zd ZU eed< dS )GiftCardAddToWalletRequestgift_card_codeN)r   r   r   r   r   r   r   r   r   r#      s   
 r#   N)r   r   pydanticr   r   r   typingr   enumr   r	   r   r   r!   r#   r   r   r   r   <module>   s    	