
    }i)                        d dl mZ d dlmZmZ d dlm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 G d de      Z G d de      Z G d de      Zy)    )	BaseModel)OptionalList)datec                       e Zd ZU eed<   eed<   eed<   dZee   ed<   dZee   ed<   dZ	eed<   dZ
ee   ed	<    G d
 d      Zy)SpecialPositionResponseidposition_numberposition_type_codeNposition_type_labelposition_type_colorr   
sort_order	posisi_idc                       e Zd ZdZy)SpecialPositionResponse.ConfigTN__name__
__module____qualname__from_attributes     5/var/www/html/asim.com/backend/app/schemas/special.pyConfigr          r   r   )r   r   r   int__annotations__strr   r   r   r   r   r   r   r   r   r   r      sS    G)-#-)-#-J#Ix}# r   r   c                   h    e Zd ZU eed<   eed<   dZee   ed<   dZee   ed<   e	ed<    G d d      Z
y)	SubscriberResponser	   asim_idN	asim_nameasim_nois_admin_assignedc                       e Zd ZdZy)SubscriberResponse.ConfigTNr   r   r   r   r   r&      r   r   r   )r   r   r   r   r   r"   r   r   r#   boolr   r   r   r   r    r       s8    GL#Ix}#!GXc]! r   r    c                   \    e Zd ZU eed<   eed<   eed<   dZeed<   dZeed<   dZ	e
e   ed	<   y)
SpecialMassCreatenamer   timegenerate	mass_type   num_positionsNmax_subscribers)r   r   r   r   r   r   r-   r/   r   r0   r   r   r   r   r)   r)      s3    
I
J
IIsM3%)OXc])r   r)   c                   ^    e Zd ZU dZee   ed<   dZee   ed<   dZee   ed<   dZ	ee
   ed<   y)SpecialMassUpdateNr*   r   r+   r0   )r   r   r   r*   r   r   r   r   r+   r0   r   r   r   r   r2   r2   '   s:    D(3-D(4.D(3-%)OXc])r   r2   c                       e Zd ZU eed<   eed<   eed<   eed<   eed<   eed<   dZee   ed<   d	Z	eed
<   e
ed<   g Zee   ed<   g Zee   ed<    G d d      Zy)SpecialMassResponser	   event_idr*   r   r+   r-   Nr0   r   subscriber_count	is_active	positionssubscribersc                       e Zd ZdZy)SpecialMassResponse.ConfigTNr   r   r   r   r   r;   ;   r   r   r   )r   r   r   r   r   r   r   r0   r   r6   r'   r8   r   r   r9   r    r   r   r   r   r4   r4   .   sh    GM
I
J
IN%)OXc])cO/1It+,1,.K(). r   r4   c                   "    e Zd ZU eed<   eed<   y)SpecialEventCreater*   yearN)r   r   r   r   r   r   r   r   r   r=   r=   ?   s    
I
Ir   r=   c                   ^    e Zd ZU dZee   ed<   dZee   ed<   dZ	ee
   ed<   dZee
   ed<   y)SpecialEventUpdateNr*   r>   r7   is_published)r   r   r   r*   r   r   r   r>   r   r7   r'   rA   r   r   r   r@   r@   D   s:    D(3-D(3- $Ix~$#'L(4.'r   r@   c                   h    e Zd ZU eed<   eed<   eed<   eed<   eed<   g Zee	   ed<    G d d      Z
y	)
SpecialEventResponser	   r*   r>   r7   rA   massesc                       e Zd ZdZy)SpecialEventResponse.ConfigTNr   r   r   r   r   rF   S   r   r   r   N)r   r   r   r   r   r   r'   rD   r   r4   r   r   r   r   rC   rC   K   s6    G
I
IO(*FD$%* r   rC   c                   "    e Zd ZU eed<   eed<   y)SpecialPositionCreater
   r   N)r   r   r   r   r   r   r   r   rH   rH   W   s    r   rH   c                   "    e Zd ZU eed<   eed<   y)ReorderItemr	   r
   N)r   r   r   r   r   r   r   r   r   rJ   rJ   \   s    Gr   rJ   N)pydanticr   typingr   r   datetimer   r   r    r)   r2   r4   r=   r@   rC   rH   rJ   r   r   r   <module>rN      s     ! 
i 
 *	 **	 *) " 
( (	9 	I 
) r   