{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/925","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/925/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/925/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/925","id":53235714,"number":925,"title":"UML Class Diagram for JHipster","user":{"login":"VikasJindal84","id":10368390,"avatar_url":"https://avatars.githubusercontent.com/u/10368390?v=3","gravatar_id":"","url":"https://api.github.com/users/VikasJindal84","html_url":"https://github.com/VikasJindal84","followers_url":"https://api.github.com/users/VikasJindal84/followers","following_url":"https://api.github.com/users/VikasJindal84/following{/other_user}","gists_url":"https://api.github.com/users/VikasJindal84/gists{/gist_id}","starred_url":"https://api.github.com/users/VikasJindal84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VikasJindal84/subscriptions","organizations_url":"https://api.github.com/users/VikasJindal84/orgs","repos_url":"https://api.github.com/users/VikasJindal84/repos","events_url":"https://api.github.com/users/VikasJindal84/events{/privacy}","received_events_url":"https://api.github.com/users/VikasJindal84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-02T03:12:23Z","updated_at":"2015-01-03T16:24:21Z","closed_at":null,"body":"Hi,\r\n\r\nCurrently , we are using command line to create entities in JHipster e.g.\r\n\r\nyo jhipster:entity author\r\n\r\nI want to contribute to your project by integrating it with Class diagram . User can create create a class diagram from that plugin ,then that plugin will invoke some JHipster's APIs to create entities corresponding to it .\r\n\r\nI have some questions , can you please help me with these :\r\n\r\n* How should that plugin invoke JHipster for creation of entities . One possibility is to generate a script of yo jhipster:entity author,yo jhipster:entity filed name String. \r\n\r\nPlease share your suggestions on it .\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/68600340","html_url":"https://github.com/jhipster/generator-jhipster/issues/925#issuecomment-68600340","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/925","id":68600340,"user":{"login":"MartinLichtblau","id":4956334,"avatar_url":"https://avatars.githubusercontent.com/u/4956334?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinLichtblau","html_url":"https://github.com/MartinLichtblau","followers_url":"https://api.github.com/users/MartinLichtblau/followers","following_url":"https://api.github.com/users/MartinLichtblau/following{/other_user}","gists_url":"https://api.github.com/users/MartinLichtblau/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinLichtblau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinLichtblau/subscriptions","organizations_url":"https://api.github.com/users/MartinLichtblau/orgs","repos_url":"https://api.github.com/users/MartinLichtblau/repos","events_url":"https://api.github.com/users/MartinLichtblau/events{/privacy}","received_events_url":"https://api.github.com/users/MartinLichtblau/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T16:24:21Z","updated_at":"2015-01-03T16:24:21Z","body":"It sounds really cool, but it won't be so easy. \r\nFirst thing which comes to my mind is that the creation order of the database tables is relevant. Which means that you need an algorithm to find out which table and relation you have to create first, second,,, and so on. And of course there will be many more big problems.\r\n\r\nIf you are looking for a tool with such capabilities you should take a look at [mysql workbench](http://www.mysql.com/products/workbench/design/)."}}