SE310-Team1 / ShoppIt

ShoppIt is an application to help users create and save their own shopping lists. This application is being created by Team Healthazardly. The project is associated with the University of Auckland SOFTENG 310 course.
MIT License
3 stars 13 forks source link

💡 [REQUEST] - Create list model class #90

Closed poli648 closed 2 years ago

poli648 commented 2 years ago

Start Date

09/29/2022

Implementation PR

To be referenced

Reference Issues

This issue

Summary

Shopping list model class needs to be added to allow storing and displaying of lists in the future.

Basic Example

An example ShoppingList could be title = "My shopping list" description = "my weekly shopping list -have to buy some carrots!" itemList = {carrotItem}

Drawbacks

Will not be incorporated into the database yet, so is not permanent.

Unresolved questions

How can we implement it into the database?

ochu761 commented 2 years ago

Sounds good! There does not currently seem to be a way to store the list itself, so a model class would be excellent.

Will need to consider whether we persist this list to the database, or store as a separate local file (.txt)