Ë
    Ìim  ã                  ót   — d dl mZ d dlmZ d dlmZmZ d dlmZ d dl	m
Z
 d dlmZ d dlmZ  G d„ d	ee«      Zy
)é    )Úannotations)ÚOptional)ÚHashableBaseModelÚModelWithMetadataParsing)Ú"PydanticSemanticLayerElementConfig)ÚPydanticMetadata)ÚEntityReference)Ú
EntityTypec                  ó’   — e Zd ZU dZded<   ded<   ded<   ded<   d	Zded
<   d	Zded<   d	Zded<   ded<   edd„«       Z	edd„«       Z
y	)ÚPydanticEntityzDescribes a entity.ÚstrÚnamezOptional[str]Údescriptionr
   ÚtypeÚroleNÚexprzOptional[PydanticMetadata]ÚmetadataÚlabelz,Optional[PydanticSemanticLayerElementConfig]Úconfigc                ó.   — t        | j                  ¬«      S )N)Úelement_name)r	   r   ©Úselfs    úx/var/www/html/strategist-ai/venv/lib/python3.12/site-packages/dbt_semantic_interfaces/implementations/elements/entity.pyÚ	referencezPydanticEntity.reference   s   € ä¨D¯I©IÔ6Ð6ó    c                óx   — | j                   t        j                  t        j                  t        j                  fv S )N)r   r
   ÚPRIMARYÚUNIQUEÚNATURALr   s    r   Úis_linkable_entity_typez&PydanticEntity.is_linkable_entity_type!   s*   € à�y‰yœZ×/Ñ/´×1BÑ1BÄJ×DVÑDVÐWÐWÐWr   )Úreturnr	   )r"   Úbool)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   r   Úpropertyr   r!   © r   r   r   r      si   … Ùà
ƒIØÓØ
ÓØ
ÓØ€Dˆ-ÓØ+/€HÐ(Ó/Ø€Eˆ=ÓØ8Ó8àò7ó ð7ð òXó ñXr   r   N)Ú
__future__r   Útypingr   Ú,dbt_semantic_interfaces.implementations.baser   r   Ú6dbt_semantic_interfaces.implementations.element_configr   Ú0dbt_semantic_interfaces.implementations.metadatar   Ú"dbt_semantic_interfaces.referencesr	   Ú"dbt_semantic_interfaces.type_enumsr
   r   r*   r   r   ú<module>r2      s3   ðÝ "å ÷õõ NÝ >Ý 9ôXÐ&Ð(@õ Xr   