social-clusters/src/career.py

15 lines
412 B
Python
Raw Normal View History

from src.raw_data import RawData
class Career:
def __init__(self, raw_career):
data = RawData(raw_career)
self.id = data.id
self.group_id = data.group_id
self.company = data.company
self.country_id = data.country_id
self.city_id = data.city_id
self.year_from = raw_career['from']
self.until = data.until
self.position = data.position