o
    "i                     @   st   d Z ddlmZmZmZmZmZmZ ddlm	Z	 ddl
mZ ddlmZ eG dd deZeG dd	 d	eZd
S )z
Expert Profile models
    )ColumnIntegerStringTextFloatARRAY)JSONB)	BaseModel)global_modelc                   @   s   e Zd ZdZdZddiZeeddddZee	e
dg dZee	e
dg dZee
dd	Zeed
dZeed
dZeeddZeed
dZeei dZdS )ExpertProfilezExpert profile modelexpert_profilesschema
hub_globalFT)nullableuniqueindex)r   defaultr   r   )r   g        N)__name__
__module____qualname____doc____tablename____table_args__r   r   user_idr   r   expertise_areasskillsbiototal_annotationstotal_reviewsr   avg_quality_scorereputation_scorer   	meta_data r#   r#   K/lsinfo/ai/hellotax_ai/training_center/backend/app/models/expert_profile.pyr   
   s    r   c                   @   sR   e Zd ZdZdZddiZeedddZee	ddd	Z
eedd	Zeedd	Zd
S )ExpertContributionz"Expert contribution tracking modelexpert_contributionsr   r   FT)r   r   2   r   N)r   r   r   r   r   r   r   r   r   r   contribution_typetask_idr   quality_scorer#   r#   r#   r$   r%      s    r%   N)r   
sqlalchemyr   r   r   r   r   r   sqlalchemy.dialects.postgresqlr   app.models.baser	   app.core.schema_bindingr
   r   r%   r#   r#   r#   r$   <module>   s     