jpreecedev / Landlords

0 stars 1 forks source link

Define Checklist entities (data structure) #24

Closed jpreecedev closed 7 years ago

jpreecedev commented 7 years ago

The data structure should be something as follows;

Checklist entity This is the default configuration of the checklist. Checklist instances are spawned from this.

Checklist item entity This is each item on the checklist (the master version)

Checklist instance entity When the user creates an instance of the checklist from a master template, it goes here. Edits are made against the instance and not the master.

Checklist instance item entity Copied originally from the master checklist item. Allows the user to make edits

jpreecedev commented 7 years ago

I would envisage the following keys;

ChecklistItem (FK) > Checklist Checklist Instance > Checklist (FK) Checklist Instance > AspNetUser Checklist Instance Item > Checklist Instance (FK)

jpreecedev commented 7 years ago

Done