45/53
\begin{frame}
  \frametitle{UML Class Diagram}
  
  UML class diagrams
  \begin{itemize}
    \item frequently used in database design
    \item similar to E/R diagrams\\
      (\emph{Entities/Relationships} $\implies$ \emph{Classes/Associations})
  \end{itemize}
  \bigskip
  \begin{exampleblock}{Example Schema as UML Class diagram}
    \begin{center}
    \begin{tikzpicture}
    \umlclass{customer}{ 
      +id \\
      +name \\
      +street \\
      +city 
      }{ 
      } 
    \umlclass[x=7]{account}{ 
      +account-number \\
      +balance
      }{ 
      } 
    \umlassoc[arg1=1,pos1=0.1,arg2=0..*,pos2=.9,name=assoc]{customer}{account} 
    \node [ao=assoc-1] {deposits $\triangleright$};
    \node [bo=assoc-1] {$\triangleleft$ depositor$\quad$};
%     \umlassoc[attr1=mult1|arg1, attr2=mult2|arg2]{customer}{account} 
    \end{tikzpicture} 
    \end{center}
  \end{exampleblock}
\end{frame}