Parkmanne/readme.md

41 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2019-06-27 01:20:06 +00:00
use
```
cmake -G "MinGW Makefiles" -S ./ -B ./build/
mingw32-make
```
to build the project.
it will generate the .exe in /build/park.exe
Or click the build icon in vscode *shrugs*
# Parkmanne
## A stroll in the park
2019-07-02 18:56:10 +00:00
2019-07-10 19:38:37 +00:00
#TODO
1. fix password of admin(probably buffer of input cusing the problem)
2. add adress to customer
3. billing
4. delete/edit admin
2019-07-02 18:56:10 +00:00
This is a graph of how everything is connected.
If you need to add functionality that doesn't fall in any of these, and you're unsure of what to include, you can decide something like this:
Take my customer class for example.
It needs to be able to save to db, so it needs data.
It needs to modify and save park_time objects, so it needs those.
It needs to encrypt and decrypt passwords. BUT since data already includes encrypt, it doesn't have to be encrypted.
So customer includes those.
Another example is Parkspot.
It needs information about both customers and save to the database.
Since customer also includes data, i don't have to include it again.
Last example:
![header includes](graph.png)