from models.ua.lviv.iot.insuranceType import InsuranceType
from models.ua.lviv.iot.dangerLevel import DangerLevel
from models.ua.lviv.iot.insurance import Insurance


class Health(Insurance):

    def __init__(self,
                 name=None,
                 surname=None,
                 number_of_days=0,
                 telephone=None,
                 insurance_type=InsuranceType.HEALTH,
                 premature_death=True,
                 invalidity=DangerLevel.HIGH
                 ):
        super().__init__(name, surname, number_of_days,
                         telephone, insurance_type)
        self.premature_death = premature_death
        self.invalidity = invalidity

    def __str__(self):
        return "{" + "name='" + self.name + '\'' \
               + ", surname='" + self.surname + '\'' \
               + ", number_of_days=" + str(self.number_of_days) \
               + ", telephone=" + str(self.telephone) \
               + ", insurance_type=" + str(self.insurance_type)

bf10e61e9bc01fe6c1ba4b1060415721b90045f9
<mask token>


class Health(Insurance):
    <mask token>
    <mask token>

<mask token>


class Health(Insurance):

    def __init__(self, name=None, surname=None, number_of_days=0, telephone
        =None, insurance_type=InsuranceType.HEALTH, premature_death=True,
        invalidity=DangerLevel.HIGH):
        super().__init__(name, surname, number_of_days, telephone,
            insurance_type)
        self.premature_death = premature_death
        self.invalidity = invalidity
    <mask token>

<mask token>


class Health(Insurance):

    def __init__(self, name=None, surname=None, number_of_days=0, telephone
        =None, insurance_type=InsuranceType.HEALTH, premature_death=True,
        invalidity=DangerLevel.HIGH):
        super().__init__(name, surname, number_of_days, telephone,
            insurance_type)
        self.premature_death = premature_death
        self.invalidity = invalidity

    def __str__(self):
        return ('{' + "name='" + self.name + "'" + ", surname='" + self.
            surname + "'" + ', number_of_days=' + str(self.number_of_days) +
            ', telephone=' + str(self.telephone) + ', insurance_type=' +
            str(self.insurance_type))

from models.ua.lviv.iot.insuranceType import InsuranceType
from models.ua.lviv.iot.dangerLevel import DangerLevel
from models.ua.lviv.iot.insurance import Insurance


class Health(Insurance):

    def __init__(self, name=None, surname=None, number_of_days=0, telephone
        =None, insurance_type=InsuranceType.HEALTH, premature_death=True,
        invalidity=DangerLevel.HIGH):
        super().__init__(name, surname, number_of_days, telephone,
            insurance_type)
        self.premature_death = premature_death
        self.invalidity = invalidity

    def __str__(self):
        return ('{' + "name='" + self.name + "'" + ", surname='" + self.
            surname + "'" + ', number_of_days=' + str(self.number_of_days) +
            ', telephone=' + str(self.telephone) + ', insurance_type=' +
            str(self.insurance_type))

from models.ua.lviv.iot.insuranceType import InsuranceType
from models.ua.lviv.iot.dangerLevel import DangerLevel
from models.ua.lviv.iot.insurance import Insurance


class Health(Insurance):

    def __init__(self,
                 name=None,
                 surname=None,
                 number_of_days=0,
                 telephone=None,
                 insurance_type=InsuranceType.HEALTH,
                 premature_death=True,
                 invalidity=DangerLevel.HIGH
                 ):
        super().__init__(name, surname, number_of_days,
                         telephone, insurance_type)
        self.premature_death = premature_death
        self.invalidity = invalidity

    def __str__(self):
        return "{" + "name='" + self.name + '\'' \
               + ", surname='" + self.surname + '\'' \
               + ", number_of_days=" + str(self.number_of_days) \
               + ", telephone=" + str(self.telephone) \
               + ", insurance_type=" + str(self.insurance_type)
