Beispiel #1
0
 def __init__(self, cpf,email,mobile_number,interests):
     self.user = User(email,mobile_number)
     self.cpf = cpf
     self.interests = interests
     if interests is not None:
         print interests
     userDB.createUser(self,self.user,interests)
Beispiel #2
0
 def __init__(self, cnpj,email,mobile_number):
     self.user = User(email,mobile_number)
     self.cnpj = cnpj
     userDB.createUser(self,self.user)