title: employee - manager class diagram, representing additional constraints on manager entity
body: <p>I come from an ER background and am shifting to UML diagrams. I am constructing an UML diagram for a real work scenario. One of the class diagram I am constructing is a Employee - Manager class diagram, where Manager is also an employee. This is a classic UML diagram that has been around for ages and it would be constructed like below</p>
  
  <p><img src="https://i.stack.imgur.com/G9kNl.png" alt="Classic Employee-Manager class diagram"></p>
  
  <p>However there are some things that a Manager can do but an Employee cannot, like a Manager can pay wages to (and only to) employees working under him/her. My solution to this situation is to reconstruct the class diagram like this</p>
  
  <p><img src="https://i.stack.imgur.com/iBmfz.png" alt="Employee-Manager extended class diagram"></p>
  
  <p>I am creating a specialized class for Manager and represent the relationship as third entity. Is this good ?</p>