{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/jdl-studio/issues/50","repository_url":"https://api.github.com/repos/jhipster/jdl-studio","labels_url":"https://api.github.com/repos/jhipster/jdl-studio/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/jdl-studio/issues/50/comments","events_url":"https://api.github.com/repos/jhipster/jdl-studio/issues/50/events","html_url":"https://github.com/jhipster/jdl-studio/issues/50","id":322184343,"number":50,"title":"Allow to extend entity from abstract entity","user":{"login":"jcagarcia","id":1403553,"avatar_url":"https://avatars2.githubusercontent.com/u/1403553?v=4","gravatar_id":"","url":"https://api.github.com/users/jcagarcia","html_url":"https://github.com/jcagarcia","followers_url":"https://api.github.com/users/jcagarcia/followers","following_url":"https://api.github.com/users/jcagarcia/following{/other_user}","gists_url":"https://api.github.com/users/jcagarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/jcagarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcagarcia/subscriptions","organizations_url":"https://api.github.com/users/jcagarcia/orgs","repos_url":"https://api.github.com/users/jcagarcia/repos","events_url":"https://api.github.com/users/jcagarcia/events{/privacy}","received_events_url":"https://api.github.com/users/jcagarcia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-11T06:37:48Z","updated_at":"2018-05-11T09:25:58Z","closed_at":"2018-05-11T09:25:58Z","author_association":"NONE","body":"I want to create the following entity model using JDL Studio:\r\n\r\n![Petclinic UML](https://github.com/DISID/gvnix-samples/raw/master/quickstart-app/images/petclinic-uml.png)\r\n\r\nBut I don't have the necessary JDL syntax to extends my `Owner` entity and my `Vet` entity from an abstract entity called `AbstractPerson`."},"comment":{"url":"https://api.github.com/repos/jhipster/jdl-studio/issues/comments/388311582","html_url":"https://github.com/jhipster/jdl-studio/issues/50#issuecomment-388311582","issue_url":"https://api.github.com/repos/jhipster/jdl-studio/issues/50","id":388311582,"user":{"login":"jdubois","id":316835,"avatar_url":"https://avatars1.githubusercontent.com/u/316835?v=4","gravatar_id":"","url":"https://api.github.com/users/jdubois","html_url":"https://github.com/jdubois","followers_url":"https://api.github.com/users/jdubois/followers","following_url":"https://api.github.com/users/jdubois/following{/other_user}","gists_url":"https://api.github.com/users/jdubois/gists{/gist_id}","starred_url":"https://api.github.com/users/jdubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdubois/subscriptions","organizations_url":"https://api.github.com/users/jdubois/orgs","repos_url":"https://api.github.com/users/jdubois/repos","events_url":"https://api.github.com/users/jdubois/events{/privacy}","received_events_url":"https://api.github.com/users/jdubois/received_events","type":"User","site_admin":false},"created_at":"2018-05-11T09:25:58Z","updated_at":"2018-05-11T09:25:58Z","author_association":"OWNER","body":"Indeed, we don't support inheritance in JHipster. In my opinion it's a bad practice with Hibernate - of course you are free to generate Vets and Owners and then refactor them to add the AbstractPerson, the final code will work the same (main difference is in the database tables, but the rest of the application doesn't see that)\r\n\r\nThis is not a bug, but a question for StackOverflow, please follow our guidelines for help next time, as this isn't nice for other users who might have the same question."}}
{"actor":{"display_login":"jdubois"}}