13 lines
338 B
Python
13 lines
338 B
Python
|
from src.raw_data import RawData
|
||
|
|
||
|
|
||
|
class Military:
|
||
|
def __init__(self, raw_military):
|
||
|
data = RawData(raw_military)
|
||
|
self.id = data.id
|
||
|
self.unit_id = data.unit_id
|
||
|
self.unit = data.unit
|
||
|
self.country_id = data.country_id
|
||
|
self.year_from = raw_military['from']
|
||
|
self.until = data.until
|