gitject/GitjectProjectManagerBundle — Issue #2: Task/Issue Model
Author: rafaelgou
Created: 2011-12-31 14:23:09+00:00
State: open

Create a Task Model.

Basic:
- id (auto)
- pid (internal sequence by project)
- title ()
- description
- type (from project config)
- due_date
- status (3 and JUST 3: open, doing, close - no changes on that!)
- order (and not "priority", sequence, but must be "hidden", managed by drag & drop)

Relations:
- Project (if you want private tasks, create a private project!)
- Milestone
- Tags (related to project tags)
- AssignedTo
- Comments (will be embedded!! It's MongoDB!!!)

Blame and Date:
- CreatedBy
- UpdatedBy
- CreatedAt
- UpdatedAt

Some notes:
On create and edit a task/issue, be smart: just title, description, due date and type.

*IMPORTANT*: create a Model and after a Document. Even if we don't make eforts to use another database, we leave a door to other implementations.