o
    h                     @   sn   d dl Z d dlmZmZ d dlmZmZmZmZ d dl	m
Z
 G dd deZedZG dd	 d	eee ZdS )
    N)GenericTypeVar)	BaseModel
ConfigDictFieldfield_validator)to_camelc                   @   s    e Zd ZdZeddeddZdS )CustomModelz-Base model for all models in the application.T)from_attributespopulate_by_namealias_generatorcoerce_numbers_to_strN)__name__
__module____qualname____doc__r   r   model_config r   r   3/var/www/html/beacon-api/app/utils/schemas_utils.pyr	      s    
r	   DataTc                   @   sR   e Zd ZU dZedddgdZeed< edddgdZeed	< d
Z	e
d
B ed< d
S )CustomResponsez"Custom response model for the API..1z-1)examplesstatusMessagezUser already existsmessageNdata)r   r   r   r   r   r   str__annotations__r   r   r   r   r   r   r   r      s
   
 r   )enumtypingr   r   pydanticr   r   r   r   pydantic.alias_generatorsr   r	   r   r   r   r   r   r   <module>   s    
