mirror of
https://github.com/HWienhold/WoodsSooperDooperShop.git
synced 2026-02-06 23:57:44 +00:00
Supermarket modell to determine if products are spoiled.
- Products can be added with expirationDate, basePrice and quality
- each producttype might have different conditions as to when it is spoiled, dependent of quality & expirationDate
- new ProductTypes can be added by implementing the Product Interface & adding to the ProductFactory, currenttly available are: wine, cheese & quidditch balls
- As Data Source can currenttly sql db or csv import be used. There is even a small amount of example data in another (static) file (InMemoryRepository)
- New sources can be added via implementing the ProductDataRepository Interface ( just a function yielding a list of products) and use productImport in Supermarket class
- Timeevolution is handled by Dr. Stranges (Infinity) TimeStone. But this time only time forwards is possible.
- there is a small user interface
Description
Languages
Java
100%