sql & class diagram