
    ~V
h	                         S SK JrJr  S SKJrJrJr  S SKJr   " S S\5      r " S S\5      r	 " S S	\5      r
 " S
 S\5      r " S S\5      rg)    )	BaseModelField)OptionalListDict)datetimec                       \ rS rSr% \" SSS9r\\S'   \" SSS9r\	\   \S'   \" SS	S9r
\	\\\\   4      \S
'   \" SSS9r\	\   \S'   \" SSS9r\	\   \S'   \" SSS9r\	\   \S'   \" SSS9r\	\   \S'   Srg)RoleBase   .z)Role name (e.g. 'Super Admin', 'Manager')descriptionnameNzA brief description of the roler   FMapping of module IDs to allowed actions, e.g. {1: ['read', 'update']}permissionszCAccount ID if role is account-specific; null/empty for global roles
account_idFIFlag indicating this is a system default role and should not be modified.is_system_default`Flag indicating whether the role has global access (True) or is limited to its own data (False).is_global_access.Flag indicating whether the role is SaaS-only.is_saas_only )__name__
__module____qualname____firstlineno__r   r   str__annotations__r   r   r   r   intr   r   r   boolr   r   __static_attributes__r       JC:\Suresh\moveshuttle\MDcreated\moveengine\app\v1\models\saas\rolemodel.pyr
   r
      s    c'RSD#S!&t9Z![K#[27b3K$sDI~./  !&_!J  ).f)x~  (-}(htn  $)K$L(4. r"   r
   c                   *    \ rS rSr% Sr\\   \S'   Srg)
RoleCreate   Nrole_idr   )	r   r   r   r   r'   r   r   r   r!   r   r"   r#   r%   r%      s    !GXc]!r"   r%   c                       \ rS rSr% \" SSS9r\\   \S'   \" SSS9r	\\   \S'   \" SSS9r
\\\\\   4      \S	'   \" S
SS9r\\   \S'   \" S
SS9r\\   \S'   \" S
SS9r\\   \S'   Srg)
RoleUpdate   NzNew role namer   r   zNew descriptionr   r   r   Fr   r   r   r   r   r   r   )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    /BD(3-B!&t9J!KK#K27b3K$sDI~./  ).f)x~  (-}(htn  $)K$L(4. r"   r)   c                   B    \ rS rSr% \" SSS9r\\S'   \\S'   \\S'   Sr	g	)
Role/   .r'   )aliasidcreated_dateupdated_dater   N)
r   r   r   r   r   r/   r   r   r   r!   r   r"   r#   r,   r,   /   s    Cy)B)r"   r,   c                   0    \ rS rSr% \\S'   \\   \S'   Srg)RoleListResponse4   total_countrolesr   N)	r   r   r   r   r   r   r   r,   r!   r   r"   r#   r3   r3   4   s    :r"   r3   N)pydanticr   r   typingr   r   r   r   r
   r%   r)   r,   r3   r   r"   r#   <module>r9      sM    % ' ' y (" " &8 
y r"   