Added properties to Student Model and changed WorkSubmission model to refer to user instead of student git-svn-id: http://soc.googlecode.com/svn/wiki@3216 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/GHOPImplementationDesign.wiki b/GHOPImplementationDesign.wiki index 671fd4f..31d91b8 100644 --- a/GHOPImplementationDesign.wiki +++ b/GHOPImplementationDesign.wiki
@@ -200,13 +200,16 @@ </madhu> - The following models are shared models with GSoC with different OOP. Look at Module Architecture. == Organization == * task_quota_limit - *IntegerProperty* == Student == + * program_type - *StringProperty* (It can be either High School or University, provided as a drop down) + * major - *StringProperty* + * degree - *StringProperty* (These 2 property fields appear on student sign up page if the program chosen is University type) + * grade - *StringProperty* (This is chosen if program type is High School. I plan to use AJAX for this kind of form generation) == Program == @@ -237,9 +240,9 @@ * _organization_ - *ReferenceProperty(Organization)* * prize_winners - *ListProperty(type=db.key, ...)* This holds keys for Student entities(More in the questions at the bottom of the page. The list needs to be ordered based on the prizes students win by the organization) -== WorkSubmission == +== WorkSubmission (To Be Decided) == * _task_ - *ReferenceProperty(Task)* - * _student_ - *ReferenceProperty(Student)* + * _user_ - *ReferenceProperty(User)* * file - *BlobProperty* (Holds the uploaded file. Has 1MiB per file App Engine limitation) * additional_work - *StringProperty* (Holds the URLs or any other kind of pointers to external work) * submitted_on - *DateTimeProperty*