first commit
This commit is contained in:
parent
b216a187bd
commit
f73c77f548
119 changed files with 4504 additions and 4829 deletions
20
backend/models/cv_model.py
Normal file
20
backend/models/cv_model.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
class CVModel:
|
||||
def __init__(self, data):
|
||||
self.about_text = data.get("about_text")
|
||||
self.my_values = data.get("my_values")
|
||||
self.my_skills = data.get("my_skills")
|
||||
self.technologies = data.get("technologies")
|
||||
self.work_experience = data.get("work_experience")
|
||||
self.education = data.get("education")
|
||||
self.hobbies = data.get("hobbies")
|
||||
|
||||
def to_dict(self):
|
||||
return {
|
||||
"about_text": self.about_text,
|
||||
"my_values": self.my_values,
|
||||
"my_skills": self.my_skills,
|
||||
"technologies": self.technologies,
|
||||
"work_experience": self.work_experience,
|
||||
"education": self.education,
|
||||
"hobbies": self.hobbies
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue