o
    @h                     @   sb   d dl mZmZ d dl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 )
    )GenericTypeVar)	BaseModel
ConfigDictField)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   K/var/www/html/RetailApiNew/retail-simulation-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   N)typingr   r   pydanticr   r   r   pydantic.alias_generatorsr   r   r   r   r   r   r   r   <module>   s    
