add total function to model order
implement the pay function: make changes to user's balance
add two field for order and iteminfo so a lot of function need to modify
init data for test, use this or use trans.sql
update trans.sql
fix the bug of two foreign key relate to the same thing
update the test unit
modify the create order function