Top-up management system based on Java SE Collection

Source: Internet
Author: User

1. Functional Analysis

① Administrator Management

Registration: Provide "user name", "Password"

Login

Exit

② register a card: Record the corresponding information.

③ Recharge Management: A card account to recharge, query, modify.

2. Technical Requirements

①java Basic Knowledge + collection Class (simulation database).

② data is stored in the way of objects: Administrator class, a cartoon class, top-up record class JavaBean.

3. Feature Detail Design

① Administrator Registration function

User input required: User ID, password, user name.

User name: Cannot start with a number, only alphanumeric _, and the length of the user name should be between 4-10 bits.

Password: cannot be the same as the user name, and the length must be between 4-10 bits.

The user number is automatically increased by the system.

None of the above information can be empty.

Feature requirements: If the user name already exists during registration, the replacement can be registered. A successful registration can be performed on the login operation.

② Login function

User input Required: User name, password.

A non-null validation of the user number and password is required. If the user name is not empty, verify that the user number exists and, if present, verify that the user name and password match, or that the information is prompted.

Functional Requirements: If the login is successful, enter the system main menu, otherwise prompt information, re-login or registration.

③ Administrator Information Management

To modify administrator information, please refer to the requirements at the time of registration.

Delete Administrator information, you need to enter the user number first, and then delete according to the user number.

Query administrator information, query criteria: According to the number or real name to find information, see all the information.

④ Handle a card

User input required: name, contact, amount.

The program automatically generates a "card number".

The information entered above needs to be validated.

Functional requirements: A card when successful, the information prompts, or re-processing.

⑤ Recharge Management

Increase the amount according to the card number to view the amount.

Top-up management system based on Java SE Collection

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.