Campus financial management system - database design

Campus financial management system - database design

----- Experiment small assignment 1

Tools: PowerDesigner software and orcal

1. Demand analysis:

1) Personal reimbursement management module
Personnel include: teachers, students, interns.
Basic information management of teachers: name, gender, tenure time, level, department, etc. Basic information can be imported from outside the system.
Add personal reimbursement: Enter employee number, reimbursement date, personal reimbursement description, reimbursement items, supplementary reimbursement amount, reimbursement standard, etc. to add personal reimbursement information.
Manage personal reimbursement: You can view, modify and delete personal reimbursement.
Personal reimbursement statistics: You can query the personal reimbursement situation through the employee number, such as employee number, reimbursement date, reimbursement status, reimbursement description, reimbursement items, actual reimbursement amount, etc.

(2) Departmental reimbursement management
Add departmental reimbursement records: input department number, reimbursement date, departmental reimbursement instructions, reimbursement items, actual reimbursement amount, reimbursement standards, etc. to add departmental reimbursement records.
Manage department reimbursement records: view, modify, and delete department reimbursement records, such as department number, reimbursement date, reimbursement description, reimbursement items, and actual reimbursement amount, etc.
Departmental reimbursement statistics: Enter the department number to query the departmental reimbursement information.
(3) The audit management of the financial system checks
the authenticity of the event, checks the reimbursement project submitted by the individual and the project and activity notice and activity records submitted by the department, and checks whether the information is complete, etc. If there is no other problem, the project is passed , to report the grant.
To view reimbursement records submitted by individuals and departments, only the status column can be changed. Undo through project or unsuccessful rollback and resubmit.
Generate statistics records.
(4) Personnel file management
This module is mainly to add personnel files, administrator personnel files, and query personnel files. Such as employee number, name, gender, department, place of origin, marital status, political affiliation, education, status, etc.
Department management: the functions realized include adding departments and managing departments.
Reimbursement project management: add reimbursement projects, manage reimbursement projects, such as name, operation status modification, deletion, etc.
Ordinary users: personal reimbursement management, such as employee number, reimbursement date, reimbursement description, reimbursement items, actual reimbursement amount, etc.
insert image description here


Security and Integrity Requirements:
Security - Set triggers
to protect login information records and modify information in real time.
Add, modify, and delete are protected, and corresponding triggers are set to prevent data mixing.
Data backup and restore function - data rollback
Users can back up or restore system data according to actual needs.
Three major integrity constraints
Entity Integrity Whether the primary key is unique Whether the primary attribute of the primary key is null or not
Referential integrity refuses to execute (no action), cascade operation (cascade)
The only column value of user integrity is not allowed to be empty Default value and Choose to fill in the blank

Data Flow Diagram (DFD)
insert image description here
Abstract Simplification:
insert image description here
Also Hierarchical Data Flow Diagram: In the docs. ———Shared.

data
dictionary

2. Conceptual structure design

1. Some entities:
teacher information: teacher number, name, gender, department number, entry time, birthday, address, mobile phone number, login number, password Student information: student number, name, gender, college, mobile phone number, login
number , password
Intern information: intern number, name, gender, college, mobile phone number, login number, password
Department information: department number, available quota, department head
Type 1: type number, name, remarks
Travel category: type No., business trip time, travel tool, reimbursement amount standard, description of materials to be submitted
Personal reimbursement: reimbursement code, employee number, reimbursement date, reimbursement type, reimbursement amount, reimbursement standard, remarks, status Departmental
reimbursement: reimbursement code, department number, Reimbursement Date, Reimbursement Type, Reimbursement Amount, Reimbursement Standard, Remarks, Status

2. Sub-ER diagram and basic ER diagram
insert image description here

etc.
etc.
insert image description here
The picture above is a basic ER diagram.

3. Logical structure design
The oracle database is used as the data management platform in the campus financial reimbursement expense management system. When designing the logical structure of the database, we should try our best to make a functional operation use as few data tables as possible. Therefore, when designing the database structure, the data must be reasonably combined. When designing the data table, follow the 3NF specification to make the logic of the library Reasonable structure, try to avoid repeated storage. In terms of logical design, the database in the campus financial reimbursement management system is divided into three categories: parameter table, data master model table, and system management data table.
insert image description here
insert image description here
etc……

4. Gains, experience and suggestions
Through the work of this simple course paper, the design and implementation of the campus reimbursement management system have been basically completed, and the expected results have been achieved. The financial loan reimbursement expense management system designed a new management platform based on the simple simulation of the school's management platform, and designed business topics that support employee information management, type information, review information, and statistical analysis.
In this course design, I have learned a lot and felt a lot. First, this course design consolidates the knowledge learned before and connects the learned knowledge in series. Second, I learned a few steps to design a database: requirements analysis, conceptual structure design, logical structure design, physical structure design, operation, implementation, operation and maintenance. Third, I realized the joy of database design and the lack of my own knowledge. I hope to continue to deepen my study and research on databases in the future. Thank you Mr. Zhao Yun for your hard work this semester.

Relevant documents have been shared"

Guess you like

Origin blog.csdn.net/weixin_43725328/article/details/113529766