Add example for complex entity with annotations