
from google.appengine.ext import db
from spot import Spot


class TalkyUser(db.Model):
    #Facebook fb-id
    fb_uid = db.StringProperty()

    #Indicate where am I
    spot = db.ReferenceProperty(reference_class=Spot, collection_name='users')
    """
    #implicity properties
    posts:<collection of UserPost>
    replies:<collection of PostReply>
    outgoingMessages:<collection of Message>
    incomingMessages:<collection of Message>
    outgoingFriendshipRequest:<collection of FriendshipRequest>
    pendingFrinedshipRequest:<collection of FriendshipRequest>
    """
    #TODO
    #User Pereference...
    #def __init__(self, uid):
        #self.fb_uid = uid
    def get_fb_id(self):
        return self.fb_uid

@@ -610,17 +610,16 @@
 ...%0A    
-#
 def __in
@@ -629,16 +629,19 @@
 _(self, 
+fb_
 uid):%0A  
@@ -646,17 +646,16 @@
         
-#
 self.fb_
@@ -660,16 +660,19 @@
 b_uid = 
+fb_
 uid%0A    
@@ -685,16 +685,19 @@
 t_fb_id(
+fb_
 self):%0A 

modify init method