Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 567 Bytes
# -*- coding: utf-8 -*-
from openfisca_core.model_api import *
from openfisca_aotearoa.entities import Person
class yearly_income(Variable):
value_type = float
entity = Person
label = u"Yearly income of this person"
definition_period = YEAR
reference = u"TODO"
unit = 'NZD'
set_input = set_input_divide_by_period
class monthly_income(Variable):
value_type = float
entity = Person
label = u"Monthly income of this person"
definition_period = MONTH
reference = u"One twelfth of their yearly income"
unit = 'NZD'
You can’t perform that action at this time.