o
    ~V
h$                     @   sd   d dl mZmZ d dlmZ d dlmZmZmZ G dd deZG dd deZ	G dd	 d	eZ
d
S )    )	BaseModelField)datetime)OptionalDictAnyc                   @   s   e Zd ZU edddZeed< edddZee ed< edddZ	ee ed	< edd
dZ
eeeef  ed< edddZee ed< dS )AuditLogBase.z?Action performed (e.g. 'create_account', 'update_subscription'))descriptionactionNz%Account ID associated with the action
account_idz User ID who performed the actionuser_idz#Additional details about the actiondetailsz.IP address from which the action was performed
ip_address)__name__
__module____qualname__r   r
   str__annotations__r   r   r   r   r   r   r    r   r   9/var/www/html/moveengine/app/v1/models/saas/auditmodel.pyr      s   
  r   c                   @   s   e Zd ZdS )AuditLogCreateN)r   r   r   r   r   r   r   r      s    r   c                   @   s*   e Zd ZU edddZeed< eed< dS )AuditLog._id)aliasaudit_id	timestampN)r   r   r   r   r   r   r   r   r   r   r   r   r      s   
 r   N)pydanticr   r   r   typingr   r   r   r   r   r   r   r   r   r   <module>   s    