2023-06-05 13:02:49 +04:00
|
|
|
from prepare_dataset.raw_data import RawData
|
2023-05-26 10:29:20 +04:00
|
|
|
|
|
|
|
|
|
|
|
class Career:
|
|
|
|
def __init__(self, raw_career):
|
|
|
|
data = RawData(raw_career)
|
2023-05-26 11:22:38 +04:00
|
|
|
self.id = data.get_int('id')
|
|
|
|
self.group_id = data.get_int('group_id')
|
|
|
|
self.company = data.get_str('company')
|
|
|
|
self.country_id = data.get_int('country_id')
|
|
|
|
self.city_id = data.get_int('city_id')
|
|
|
|
self.year_from = data.get_int('from')
|
|
|
|
self.until = data.get_int('until')
|
|
|
|
self.position = data.get_str('position')
|