Made changes to the Model Property types to reflect the changes Lennie suggested during GTalk discussion while he was on Android. Lennie is sorry that he did not do this discussion on IRC.

git-svn-id: http://soc.googlecode.com/svn/wiki@3210 5fae56a1-394a-0410-ba46-5107137fd53f
diff --git a/GHOPImplementationDesign.wiki b/GHOPImplementationDesign.wiki
index fe7eea6..ef805fa 100644
--- a/GHOPImplementationDesign.wiki
+++ b/GHOPImplementationDesign.wiki
@@ -100,6 +100,7 @@
   * Once the student requests a task, that task will be locked down, so there will be no button for subsequent students to claim it, until it is reopened.
   * (NTH) Once the task is assigned to the student, the student and the mentor should get remainders at specific intervals about the deadline.
   * In the student sign up page, Birth Date will be a mandatory field and the provided Birthday is checked with the lower age limit provided by PA in Program Configuration page, if it violates the student will not be allowed to sign up.
+  * Task States, Difficulty level and types appear as drop down in Task Creation or edit pages(The select values are read from Program Model and stored in the Task Model)
 
 = What should Side bar contain for each roles? =
 
@@ -134,12 +135,15 @@
   * _organization_ - *ReferenceProperty(Organization)*
   * title - *StringProperty*
   * description - *StringProperty*
-  * difficulty - *StringListProperty* (Pre-defined by Program Administrator in the Program Configuration Page)
+  * difficulty - *StringProperty* (Pre-defined by Program Administrator in the Program Configuration Page)
+  * state - *StringProperty* 
+  * type - *StringProperty*
   * time_to_complete - *IntegerProperty* (As specified in the views this holds the number of hours before the deadline from the moment task was assigned to the student [http://code.google.com/p/soc/wiki/GHOP GHOP requirements] )
-  * state - *StringListProperty* 
-  * type - *StringListProperty*
-  * date_of_creation - *DateTimeProperty*
-  * date_last_modified - *DateTimeProperty*
+  * deadline - *DateTimeProperty* (Once the project is set to be "Claimed" we calculate and store this property in the entity)
+  * created_by - *ReferenceProperty(Role)*
+  * edited_by - *ReferenceProperty(Role)* (Changes only when OA/Mentor change title/description, difficulty, type, time-to-complete only)
+  * created_on - *DateTimeProperty*
+  * edited_on - *DateTimeProperty*
   
 == TaskHistory ==
 Lennie: This is what I meant by "snapshot of the task at particular instance of time". It can be handled in one of the 2 ways, either store all the property values as it at the moment when one or more values change or just store the value of the property that changes at that time instance before the value was changed and along with that store the timestamp. 
@@ -156,11 +160,14 @@
   * title
   * description
   * difficulty 
-  * time_to_complete
   * state
   * type
-  * date_of_creation
-  * date_last_modified
+  * time_to_complete
+  * deadline
+  * created_by
+  * edited_by
+  * created_on
+  * edited_on
   * timestamp - *DateTimeProperty* 
 
 Explanation: Say suppose at this time instance we have a Task entity with the following values:
@@ -205,11 +212,11 @@
 == Program ==
   * student_min_age - *DateTimeProperty* (We are storing the the latest birth date above which a student cannot participate. For example if the contest rule says, "must be 13 years or above on November 1, 2009". We store this is as November 1, 1996 in DateTimeProperty format)
   * number_of_simultaneous_tasks - *IntegerProperty*  (Configurable in Program Configuration page by Program Admin. For GHOP it is 1, the number of tasks students can work on simultaneously)
-  * Winner Prize - *StringProperty*
-  * Runner-up Prize - *StringProperty*
-Above 2 properties have been under discussion for sometime now. I just wanted to store the prizes that would be given to students as text thats all. Following is an additional field which just shows the number of runner-ups an organization can give. 
   * number_of_winners - *IntegerProperty*
-  * number_of_runnerups - *IntegerProperty* (Configurable in the Program Configuration page)
+  * number_of_runnerups - *IntegerProperty* 
+  * task_difficulties - *StringListProperty*
+  * task_states - *StringListProperty*
+  * task_types - *StringListProperty* (All the above 5 properties are configurable in program configuration page)
   
 == Mentor ==
 
@@ -223,8 +230,8 @@
   This model holds the students who have won the prizes for a particular program instance for each organization.
   * _program_ - *ReferenceProperty(Program)*
   * _organization_ - *ReferenceProperty(Organization)*
-  * _winner_ - *ReferenceProperty(Student)*
-  * _runnerups_ - List of *ReferenceProperty(Student)s* (More in the questions at the bottom of the page)
+  * 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)
+
 
 = Task States =