o
    ]hQ                     @   s   d dl mZmZ d dlmZ d dlmZ d dlmZmZ G dd deZ	G dd de	Z
G d	d
 d
e	ZG dd deZG dd deZG dd deZdS )    )	BaseModelField)ObjectId)datetime)OptionalListc                   @   s   e Zd ZU edddZeed< edddZeed< edddZeed< edd	dZ	eed
< edddZ
eed< edddZeed< edddZeed< dS )CommunicationEmailBase.z%Identifier for the account; required.)description
account_idz5Current status of the ticket (e.g., failed, success).statuszSender email address.
email_fromzRecipient email address.email_tozSubject or title of the email.email_titlezContent of the email.email_descriptionz3Identifier for the user associated with this email.user_idN)__name__
__module____qualname__r   r
   str__annotations__r   r   r   r   r   r    r   r   B/var/www/html/moveengine/app/v1/models/saas/communication_email.pyr      s   
 r   c                   @   s   e Zd ZdS )CommunicationEmailCreateN)r   r   r   r   r   r   r   r      s    r   c                   @   s8   e Zd ZU eed< eejdZeed< G dd dZ	dS )CommunicationEmailid)default_factorycreated_datec                   @   s    e Zd ZdZeeiZdZdZdS )zCommunicationEmail.ConfigTN)	r   r   r   arbitrary_types_allowedr   r   json_encoderspopulate_by_namefrom_attributesr   r   r   r   Config   s
    r!   N)
r   r   r   r   r   r   r   utcnowr   r!   r   r   r   r   r      s   
 r   c                   @   sV   e Zd ZU eed< eed< eed< eed< eed< eed< eed< eed< eed	< d
S )CommunicationEmailResponseemail_idr
   r   r   r   r   r   r   r   N)r   r   r   r   r   r   r   r   r   r   r#       s   
 r#   c                   @   s"   e Zd ZU eed< ee ed< dS )CommunicationEmailResponseListtotal_countemailsN)r   r   r   intr   r   r#   r   r   r   r   r%   ,   s   
 r%   c                   @   s&   e Zd ZU ee ed< ee ed< dS )CommunicationEmailUpdater   r   N)r   r   r   r   r   r   r   r   r   r   r)   1   s   
 r)   N)pydanticr   r   bsonr   r   typingr   r   r   r   r   r#   r%   r)   r   r   r   r   <module>   s    
