def __init__(self,title, author, creation_time, question): #self.question_id = question_id self.title = title self.author = author self.creation_time = creation_time self.question = question self.func_obj = memory.func() #self.noofreplies = noofreplies #self.views = views self.likes = 0 self.dislikes = 0
def __init__(self,forum_name,time): self.forum_name = forum_name self.time = time self.author = 2 self.func_obj = memory.func()
def __init__(self,forum_name,cat_name,post_name,answer): self.forum_name = forum_name self.cat_name = cat_name self.post_name = post_name self.answer_name = answer self.funobj = memory.func()
def __init__(self, cat_name, description): self.cat_name = cat_name self.description = description self.func_obj = memory.func()
def __init__(self,user_name,password): self.user_name = user_name self.password = password self.funobj = memory.func()