
    ڵ1i                         d dl mZmZ d dlmZmZ d dl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y)    )	BaseModelField)OptionalList)datetime)ObjectIdc                   n   e Zd ZU 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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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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d<    eej8                        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d!<   dZ#eed"<   dZ$eed#<   d$Z%eed%<    eej8                        Z&eed&<    eej8                        Z'eed'<   dZ(eed(<   dZ)eed)<   dZ*eed*<    G d+ d,      Z+y-).JobseekerCVid emailr   email_verify   status   role_id   provider_idpayment_mode
country_idcountry_codemobile_numbersubscription_randnodev_passwordset_passwordpasswordintermediate_flagredirect_preferencewelcome_statusfeedback_flag
step_levelprofile_completeis_subscribeddefault_factoryregistered_datepub_id
is_deletedgeo_countrycvfile_store_pathgeo_citylatitude	longitudePROsite_version
updated_at
created_atlast_login_datecv_filenamecv_raw_textc                       e Zd ZdZy)JobseekerCV.ConfigTN__name__
__module____qualname__arbitrary_types_allowed     5/var/www/html/drjob-dev/drjob-ai/schemas/cv_models.pyConfigr6   +       "&r=   r?   N),r8   r9   r:   int__annotations__r   strr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r   r   utcnowr&   r'   r(   r)   r*   r+   r,   r-   r/   r0   r1   r2   r3   r4   r?   r<   r=   r>   r
   r
      s   GE3OL#FCOGSKL#JL#M3!!L#L#Hcs  NCM3JcM3 %hoo FOXFFCOJKsHcHcIsL# AJA AJAOSKK' 'r=   r
   c                      e Zd ZU eed<   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d	<   d
Zeed<   dZeed<   dZeed<    eej                         Zeed<    eej                         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d<   dZeed<   g Zee   ed<   g Zee   ed<   dZeed<   dZeed<   dZeed<   dZe e   ed<   dZ!e e   ed <   g Z"ee   ed!<    G d" d#      Z#y)$JobseekerBasicDetailsr   jobseeker_idr   r   r   	full_name
first_name	last_nameprofile_type_idr   r   r(   #   profile_completionr$   r0   r1   original_file_nameresume_added_dateresume_fileresume_uploadr   resume_parsing
key_skillskey_skills_customekey_skills_idprofile_summaryr   phoneNdate_of_birthnationality	languagesc                       e Zd ZdZy)JobseekerBasicDetails.ConfigTNr7   r<   r=   r>   r?   r\   K   r@   r=   r?   )$r8   r9   r:   rA   rB   r   rH   rC   rI   rJ   rK   r   r(   rM   r   r   rD   r0   r1   rN   rO   rP   rQ   rR   rS   rT   r   rU   rV   r   rW   rX   r   rY   rZ   r?   r<   r=   r>   rF   rF   /   s.   GJIsJIsOSFCOJ   AJA AJA  sKM3NCJ$&S	&!M49!OSE3OE3O#'M8C='!%K#%ItCy' 'r=   rF   c                   V   e Zd ZU eed<   eed<   dZeed<   dZe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d<    eej                         Zeed<    eej                         Zeed<   dZeed<   dZeed<   dZee   ed<   dZee   ed<   dZee   ed<    G d d      Zy)JobseekerEducationDetailsr   rG   r   institute_nameNcompletion_yearr   highest_education_id	degree_idspecialization_idr   r   r(   r$   r0   r1   degreefield_of_study
start_dateend_dategradec                       e Zd ZdZy) JobseekerEducationDetails.ConfigTNr7   r<   r=   r>   r?   rj   a   r@   r=   r?   )r8   r9   r:   rA   rB   r_   rC   r`   r   ra   rb   rc   r   r(   r   r   rD   r0   r1   rd   re   rf   rg   rh   r?   r<   r=   r>   r^   r^   O   s    GNC%)OXc]) !#!IssFCOJ AJA AJAFCNC $J$"Hhsm"E8C=' 'r=   r^   c                   T   e Zd ZU eed<   eed<   dZeed<   dZeed<   g Ze	e   ed<   dZ
ee   ed<   dZee   ed	<   d
Zeed<   dZeed<   d
Zeed<    eej$                        Zeed<    eej$                        Zeed<   dZee   ed<   dZee   ed<   dZee   ed<    G d d      Zy)JobseekerEmploymentDetailsr   rG   r   company_namedesignationjob_descNfrom_period	to_periodr   currently_workingr   r   r(   r$   r0   r1   rf   rg   job_descriptionc                       e Zd ZdZy)!JobseekerEmploymentDetails.ConfigTNr7   r<   r=   r>   r?   ru   v   r@   r=   r?   )r8   r9   r:   rA   rB   rm   rC   rn   ro   r   rp   r   r   rq   rr   r   r(   r   rD   r0   r1   rf   rg   rs   r?   r<   r=   r>   rl   rl   e   s    GL#KHd3i&*K(#*$(Ix!(sFCOJ AJA AJA $J$"Hhsm"%)OXc])' 'r=   rl   c                   \   e Zd ZU eed<   eed<   dZeed<   dZeed<   dZeed<   dZ	eed<   g Z
ee   ed	<   g Zee   ed
<   dZeed<   dZeed<   dZeed<    eej$                        Zeed<    eej$                        Zeed<   dZee   ed<   dZee   ed<   dZee   ed<    G d d      Zy)JobseekerCourseDetailsr   rG   r   course_namecompletion_locationr   r`   r_   rU   key_skills_namerS   r   r   r(   r$   r0   r1   Nprovidercompletion_datedurationc                       e Zd ZdZy)JobseekerCourseDetails.ConfigTNr7   r<   r=   r>   r?   r      r@   r=   r?   )r8   r9   r:   rA   rB   rx   rC   ry   r`   r_   rU   r   rz   rS   r   r(   r   r   rD   r0   r1   r{   r   r|   r}   r?   r<   r=   r>   rw   rw   z   s    GK!!OSNC!M49!!#OT#Y#JFCOJ AJA AJA"Hhsm"%)OXc])"Hhsm"' 'r=   rw   c                   N   e Zd ZU eed<   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   ed	<   dZee   ed
<   dZeed<   dZeed<    eej"                        Zeed<    eej"                        Zeed<   g Zee   ed<   dZee   ed<   dZee   ed<    G d d      Zy)JobseekerProjectDetailsr   rG   r   project_titleorganization_nameproject_urlproject_descriptionNproject_start_dateproject_end_dater   r   r   r(   r$   r0   r1   technologiesrf   rg   c                       e Zd ZdZy)JobseekerProjectDetails.ConfigTNr7   r<   r=   r>   r?   r      r@   r=   r?   )r8   r9   r:   rA   rB   r   rC   r   r   r   r   r   r   r   r   r(   r   rD   r0   r1   r   r   rf   rg   r?   r<   r=   r>   r   r      s    GM3sK!!-1*1+/hx(/FCOJ AJA AJA L$s)  $J$"Hhsm"' 'r=   r   c                   :   e Zd ZU eed<   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d
<   dZeed<    eej                        Zeed<    eej                        Z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<    G d d      Zy)JobseekerCertificationDetailsr   rG   r   certificate_namery   r   r`   r_   r   r   r(   r$   r0   r1   N
issue_dateexpiry_datecredential_idurlc                       e Zd ZdZy)$JobseekerCertificationDetails.ConfigTNr7   r<   r=   r>   r?   r      r@   r=   r?   )r8   r9   r:   rA   rB   r   rC   ry   r`   r_   r   r(   r   r   rD   r0   r1   r   r   r   r   r   r?   r<   r=   r>   r   r      s    Gc!!OSNCFCOJ AJA AJA $J$!%K#%#'M8C='C#' 'r=   r   N)pydanticr   r   typingr   r   r   bsonr   r
   rF   r^   rl   rw   r   r   r<   r=   r>   <module>r      sg    % !  &') &'R'I '@'	 ',' '*'Y ','i '*'I 'r=   