Ë
    šgjÄ  ã                  óÖ   — d dl mZ d dlmZ d dlmZ d dlmZ h d£Z G d„ de«      Z	 G d„ d	e	«      Z
 G d
„ de«      Z G d„ de«      Z G d„ de«      Z G d„ de	«      Z G d„ de«      Zy)é    )Úannotations)ÚField)ÚRole)ÚORMModel>   ÚreportsÚ	dashboardÚ	tenderingÚprocurementÚrequisitionsc                  ón   — e Zd ZU ded<   ded<   dZded<   ej                  Zded<   d	Zd
ed<   dZ	ded<   y)ÚUserBaseÚstrÚusernameÚ	full_nameNú
str | NoneÚemailr   ÚroleTÚboolÚ	is_activeúlist[str] | NoneÚfunctionality_access)
Ú__name__Ú
__module__Ú__qualname__Ú__annotations__r   r   Úviewerr   r   r   © ó    úapp\schemas\user.pyr   r   
   s:   … ØƒMØƒNØ€Eˆ:ÓØ—‘€Dˆ$ÓØ€IˆtÓØ-1ÐÐ*Ô1r   r   c                  ó*   — e Zd ZU  ed¬«      Zded<   y)Ú
UserCreateé   ©Ú
min_lengthr   ÚpasswordN)r   r   r   r   r%   r   r   r   r   r!   r!      s   … Ù QÔ'€HˆcÔ'r   r!   c                  ó’   — e Zd ZU  eddd¬«      Zded<   dZded<   dZded<   dZd	ed
<   dZ	ded<   dZ
ded<    edd¬«      Zded<   y)Ú
UserUpdateNé   éP   )Údefaultr$   Ú
max_lengthr   r   r   r   zRole | Noner   zbool | Noner   r   r   r"   )r*   r$   r%   )r   r   r   r   r   r   r   r   r   r   r   r%   r   r   r   r'   r'      sZ   … Ù ¨¸!ÈÔK€HˆjÓKØ €IˆzÓ Ø€Eˆ:ÓØ€Dˆ+ÓØ!€Iˆ{Ó!Ø-1ÐÐ*Ó1Ù ¨¸!Ô<€HˆjÔ<r   r'   c                  ó:   — e Zd ZU  edd¬«      Zded<   dZded<   y)	ÚProfileUpdater(   é    )r$   r+   r   r   Nr   r   )r   r   r   r   r   r   r   r   r   r   r-   r-   !   s   … Ù a°CÔ8€IˆsÓ8Ø€Eˆ:Ôr   r-   c                  ó4   — e Zd ZU ded<    ed¬«      Zded<   y)ÚPasswordChanger   Úcurrent_passwordr"   r#   Únew_passwordN)r   r   r   r   r   r2   r   r   r   r0   r0   &   s   … ØÓÙ¨Ô+€L�#Ô+r   r0   c                  ó   — e Zd ZU ded<   y)ÚUserReadÚintÚidN)r   r   r   r   r   r   r   r4   r4   +   s   … Ø„Gr   r4   c                  ó:   — e Zd ZU ded<   dZded<   ded<   ded<   y	)
ÚTokenr   Úaccess_tokenÚbearerÚ
token_typer5   Ú
expires_inr4   ÚuserN)r   r   r   r   r;   r   r   r   r8   r8   /   s   … ØÓØ€J�ÓØƒOØ
„Nr   r8   N)Ú
__future__r   Úpydanticr   Úapp.models.enumsr   Úapp.schemas.commonr   ÚFUNCTIONALITY_KEYSr   r!   r'   r-   r0   r4   r8   r   r   r   Ú<module>rC      sk   ðÝ "Ý å !Ý 'âYÐ ô2ˆxô 2ô(�ô (ô=�ô =ô�Hô ô
,�Xô ,ô
ˆxô ôˆHõ r   