The main idea is to transform the conceptual model into a logical model that can be processed by DBMS. During the conversion process, the model is evaluated and the performance is tested in order to obtain a better pattern design.
In the computer room charge system, we can transform the ER diagram in the conceptual design into our logical model.
The relation mode of the charge system of computer room:
1) User information (user ID, user name, level, password, creator)
2) basic data (user number, member unit price, normal unit price, increment time, at least machine time, preparation time, minimum amount, edit date, edit time)
3) Student Information (school number, user ID, student name, gender, department, grade, class, remark, registration date, registration time)
4) Card (card number, user number, card status, card type, amount, whether checkout, registration time)
5) Recharge (card number, user number, recharge amount, recharge date)
6) on-Machine condition (card number, date of machine, machine time, machine date, machine time, consumption time, consumption amount, on-machine status)
7) return Card (card number, user number, refund amount, date of return)
8) Daily Checkout order (user number, previous balance, daily recharge amount, daily consumption, daily return, current amount, date)
9) Weekly Checkout order (user number, previous balance, daily recharge amount, daily consumption, daily return, current amount, date)
10) Working record (user number, machine time, machine time, machine number, user status)