o
    lg                     @   st   d dl mZmZmZ d dlmZ d dlmZ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dS )    )OptionalDictAny)datetime)	BaseModelFieldc                   @   sf   e Zd ZU eed< eed< eed< eed< dZee ed< dZ	ee
 ed< dZee
 ed< e
ed	< dS )
NotificationBaseuser_idtypetitlemessageNdataread_at
expires_at
created_at)__name__
__module____qualname__int__annotations__strr   r   dictr   r   r    r   r    /app/app/schemas/notification.pyr      s   
 r   c                   @   s$   e Zd ZU eed< G dd dZdS )NotificationInDBidc                   @      e Zd ZdZdS )zNotificationInDB.ConfigTN)r   r   r   from_attributesr   r   r   r   Config       r   N)r   r   r   r   r   r   r   r   r   r   r      s   
 r   c                   @   s   e Zd ZdS )NotificationResponseN)r   r   r   r   r   r   r   r       s    r    c                   @   s`   e Zd ZU eed< edddZeed< dZee ed< dZ	ee
eef  ed< G d	d
 d
ZdS )PushNotificationRequestr   .body)aliasr   Nnotification_typer   c                   @   r   )zPushNotificationRequest.ConfigTN)r   r   r   allow_population_by_field_namer   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   
 r!   N)typingr   r   r   r   pydanticr   r   r   r   r    r!   r   r   r   r   <module>   s   
