Fidelity Investments interview question

How would you design a library checkout system?