I think you must design the business rule first.
Then you need to define how data is modeled (ER),
simply use Relational Database Concept, and I suggest to use MySQL for DBMS, its free and simply....