
    h                     x    d dl mZmZ d dlmZmZmZ d dlmZ  G d de      Z	 ed      Z
 G d de	ee
         Zy	)
    )GenericTypeVar)	BaseModel
ConfigDictField)to_camelc                   (    e Zd ZdZ edded      Zy)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     >/var/www/html/retail-simulation-api/app/utils/schemas_utils.pyr
   r
      s    7 "	Lr   r
   DataTc                   j    e Zd ZU dZ edddg      Zeed<    edddg      Zeed	<   d
Z	e
d
z  ed<   y
)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?    ,sDk2FC2	3H'IJGSJD%$,r   r   N)typingr   r   pydanticr   r   r   pydantic.alias_generatorsr   r
   r   r   r   r   r   <module>r%      s;    # 1 1 .)  	['%. r   