
    ]i                         d Z ddlmZ ddlmZmZ ddlmZmZ  G d de      Z G d de      Z	 G d	 d
e      Z
 G d de      Zy)z)Schemas for the Anomali detection module.    )datetime)AnyOptional)	BaseModel
ConfigDictc                       e Zd ZU eed<   dZee   ed<   dZee   ed<   dZ	ee   ed<   dZ
ee   ed<   dZee   ed<   dZeeeef      ed<   y)	AnomaliCreatetipeNlaporan_shift_id	produk_id	nozzle_id
plat_nomor	deskripsidetail)__name__
__module____qualname__str__annotations__r   r   intr   r   r   r   r   dictr        5/var/www/html/spbu.com/backend/app/schemas/anomali.pyr	   r	   	   se    
I&*hsm*#Ix}##Ix}# $J$#Ix}#'+FHT#s(^$+r   r	   c                   J    e Zd ZU dZee   ed<   dZee   ed<   dZ	ee   ed<   y)AnomaliUpdateNstatusassigned_tonotes)
r   r   r   r   r   r   r   r   r   r   r   r   r   r   r      s,     FHSM !%K#%E8C=r   r   c                   ,    e Zd ZU eed<   dZee   ed<   y)AnomaliResolver   Ncatatan_resolusi)r   r   r   r   r   r"   r   r   r   r   r!   r!      s    K&*hsm*r   r!   c                      e Zd ZU  ed      Zeed<   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   ed
<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   dZe	eeef      ed<   eed<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   dZe	e   ed<   eed<   eed<   y)AnomaliResponseT)from_attributesidspbu_idkoder
   Nr   r   produk_namar   nozzle_namar   r   r   r   resolved_atresolved_by_idr"   r   assigned_to_namer   
created_at
updated_at)r   r   r   r   model_configr   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   d3LGL
I
I&*hsm*#Ix}#!%K#%#Ix}#!%K#% $J$#Ix}#'+FHT#s(^$+K&*K(#*$(NHSM(&*hsm*!%K#%&*hsm*E8C=r   r$   N)__doc__r   typingr   r   pydanticr   r   r	   r   r!   r$   r   r   r   <module>r4      sA    /    *,I , I  +Y +
i r   