added reference database to readme

This commit is contained in:
Sven Vogel 2023-07-01 17:24:14 +02:00
parent 5237594d67
commit 23d96f41b2
1 changed files with 25 additions and 5 deletions

View File

@ -1,12 +1,32 @@
# JCash ## JCash
## About ## About
Draft program for the Java class of semester 2. The goal was to simulate basic cash machine that can read customer data from a .csv file and let the user view the data with crude forms of authentication.
Draft program for the Java class of semester 2. The goal was to simulate basic cash machine that can read customer data from a `.csv` file and let the user view the data with crude forms of authentication.
## Overview ## Overview
The program can read .csv file from disk and allows the user login to an account specified.
After login, the user can deposit, takeoff or transfer money from an account. The program can read `.csv` file from disk and allows the user login to an account specified.
After login, the user can deposit, takeoff or transfer money from an account.
The application does not write any changes back into the file. The application does not write any changes back into the file.
## Images ## Images
![preview.png](https://git.teridax.de/dhbw/JCash/raw/branch/main/meta/Preview.png)
![preview.png](https://git.teridax.de/dhbw/JCash/raw/branch/main/meta/Preview.png)
## Repository structure
The `meta/` folder only contains metadata required for the README. Its not a build relevant folder.
Sample database files can be found under `res/`.
## CSV Database format
The first row is always ignored as this is generally contains the columns header.
Reference example:
| Bank | BLZ | Kontonummer | PIN | Kontostand | Kontoart | Zins | Überziehungsbetrag | Kundennummer | Name | Vorname | Straße |
| ---------------------- | -------- | ------------- | ------ | ------------ | ----------- | ------ | --------------------- | -------------- | --------- | --------- | ------------------------------ |
| VR Bank Rhein-Neckar | MA2424 | 4711 | 1234 | 45,90€ | Girokonto | | 1000€ | 8745364 | Gunther | Peter | Katzenköttel an der Strulle |
| Berliner Bank | 19087 | 987456 | 4578 | 9,05€ | Sparkonto | 3% | | 39845762 | Korb | Jauch | Unter der Brücke |