Java Course Design-ATM system [functional requirements]

Source: Internet
Author: User
Tags password protection

This semester is almost over, and a variety of assignments are coming --!

There are two major troubles: large jobs in C # And. NET and Java programming, which require a strong labor force.

I am not good at. Net (I have been using Linux). The topic is to develop a LAN chat system. One of the teams in the same group is mainly responsible for this development:

Http://blog.csdn.net/zyofprogrammer

I am mainly responsible for Java-ATM system development.

Next let's take a look at the requirements:

ATM System functional requirements
  1. The system must have the function of verifying that the user (the system checks whether the user's personal account is consistent with the account recorded on the customer's account), and the account must have the password protection function, you can access this account only by entering the corresponding password. The password box on the login interface must be '*' protected.
  2. After logging on to the console, go to the service selection page, browse various services, and select the desired services. Services include (withdrawal, deposit, query balance, transfer, and password change ).
        1. Withdrawal:

          • After entering the withdrawal, select the Account type (current account, regular account, and credit card account). After selecting the Account type, the system prompts the maximum amount that the ATM can withdraw at a time-2000 yuan

          • A user's account (the user may have multiple accounts) can withdraw up to 5000 yuan a day.

          • After selecting "withdraw money", select a fixed amount (,) on the system interface, or enter the amount to be withdrawn.

          • If the withdrawal amount is greater than the balance, the system prompts that the balance is insufficient.

          • If the amount obtained is greater than 2000 of the maximum amount that the ATM can withdraw at a time, a prompt is displayed, re-enter the withdrawal amount or select to return the card.

          • If the cumulative amount obtained in a day is greater than the cumulative amount withdrawn in a day (5000) of the Account, a prompt is displayed, and the withdrawal amount is re-entered or the card is selected

          • Credit card accounts can be used for overdraft withdrawal. The overdraft withdrawal amount is 2000 Yuan. Other accounts cannot be used for overdraft withdrawal.

          • After the withdrawal, the system prompts you to return the card or continue the service.

          • Withdrawal from a regular account. If the regular account does not expire, a fee of 10 yuan will be charged for one withdrawal transaction, which will be deducted from the balance.

          • Withdrawal from a current account. For example, if the number of withdrawal transactions in the current month is no more than 5 times (<= 5), no transaction handling fee is required. If the number of withdrawal transactions exceeds 5 times, a withdrawal transaction is charged with a processing fee of 2 RMB, deduct from balance

          • Credit card account withdrawal, no business rules (not required)

          • After that, the user can choose to return the card or continue to select the service

        1. Deposit:(Do not implement it. Provide menu options)

        1. Query balance:

    • After selecting an account, go to the account balance query page and display the following information:

      Show account information

      Show actual balance

      Display the amount of money that can be withdrawn (5000 minus the amount of money that has been acquired on the current day)

    • After that, the user can choose to return the card or continue to select the service

          1. Transfer:

            • After entering the transfer, (in the drop-down box, all accounts of the customer are displayed.) The user selects the transfer account source (one account of the customer) and the target account (another account of the customer ), and transfer amount

            • If the transfer amount is greater than the account balance, a prompt is displayed, asking the user to re-enter the transfer amount

            • The money transfer service is charged at 1% of the money transferred and deducted from the balance (if the balance is insufficient, the money transfer service is canceled). The amount of money transferred once cannot exceed 10 thousand yuan

            • After that, the user can choose to return the card or continue to select the service

            • Transfer transactions include two transaction transactions, that is, withdrawal from an account and withdrawal from another account. The transaction information must be recorded in the database.

          1. Change Password:

            • Enter the password change option, prompt to enter the old password, new password, enter the new password again to confirm the change

            • After the password is changed, choose to return the card or continue the service.

          1. Query historical transactions (Transactions) Record:

            • Go to the query history transaction option. Transactions refer to withdrawals, transfers, and transfers to accounts. Different query conditions (such as recent transactions, transactions in the last month, and transactions in the past year) should be provided ), the query results should include the transaction type, occurrence time, and amount)

    Others:

    • All transactions that occur, including withdrawals, withdrawals, and deposits, must be recorded in the database (Note: Includes 1. Account, number 2. Transaction type-withdrawal or deposit, 3. Amount, 4. Time-year month day hour minute ).

    The interface process is as follows: :

    Login interface

    Operation instructions

    Notes

    1. Prompt for safe use...

    2. prevent others from stealing passwords

    3. Card swallowing

    After the password is entered for verification

    Select account:

    Current Account

    Regular account

    Credit card account

    Select account:

    Current Account

    Regular account

    Select Service

    Transfer

    Deposit

    Balance Query

    Withdrawal

    Transaction Query

    Change Password

    Card fetch

    Enter the old password

    Enter New Password

    Confirm New Password

    Confirm

    Cancel

    Show account information

    Show actual balance

    Show withdrawal balance

    Enter withdrawal amount

    Withdrawal amount

    Select

    Transfer source account

    Transfer target account

    Transfer amount

    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.