Added Schema
This commit is contained in:
35
proj.txt
35
proj.txt
@@ -4,12 +4,37 @@ Project Title:
|
||||
Database Title:
|
||||
|
||||
Database Schema
|
||||
1. Users {id, username, password}
|
||||
id: autogenerated id number.
|
||||
username: Customer's account username.
|
||||
password: Custerm's account password.
|
||||
1. Users {id, username, password, checkingAmount, savingsAmount}
|
||||
int id: autogenerated id number.
|
||||
String username: Customer's account username.
|
||||
String password: Customer's account password.
|
||||
boolean checkingAmount: yes if customer has a checking account.
|
||||
boolean savingsAmount: yes if customer has a savings account.
|
||||
|
||||
2.
|
||||
2. Transfer {id1, id2, amount, checking, savings}
|
||||
int id1: sender.
|
||||
int id2: recipient.
|
||||
double amount: amount to transfer.
|
||||
boolean checking: true if amount is coming from checking account.
|
||||
boolean savings: true if amount is coming from savings account.
|
||||
|
||||
3. Loan {id, date, overdue, amount, balance}
|
||||
int id: sender.
|
||||
Date date: date of payment.
|
||||
boolean overdue: true if payment is late.
|
||||
double amount: amount to pay.
|
||||
double balance: remaining balance.
|
||||
|
||||
4. Checking {id, balance, amount}
|
||||
int id: customer id.
|
||||
double balance: checking balance.
|
||||
double amount: amount to withdraw or deposit.
|
||||
|
||||
5. Savings {id, balance, interestRate, amount}
|
||||
int id: customer id.
|
||||
double balance: savings balance.
|
||||
double interestRage: interest rate to add to balance.
|
||||
double amount: amount to withdraw or deposit.
|
||||
|
||||
Functional Requirements
|
||||
1. Customer can register to create an account.
|
||||
|
||||
Reference in New Issue
Block a user