How to properly extend JHipster User Entity
<p>I started a new JHipster project recently and I have a requirement in the project for extending a built-in User entity.</p>

<p>For example to add some new attributes (and columns in the database to persist those). But, since this is built-in functionality and the User entity is not listed in .jhipster folder I'm wandering of a proper way to do it.</p>

<p>The simplest option would be to change User.java and liquibase migration xmls and all associated files but that would probably be an obstacle for future jhipster upgrades (running <code>yo jhipster</code> inside project folder like it is explained here <a href="https://jhipster.github.io/2016/03/23/jhipster-release-3.0.0.html" rel="nofollow">jhipster docs</a> ).
Another possible route could probably be to create a new entity which would be in a one-to-one relation to the User entity, but I'm not sure how to exactly do this: Using <code>yo jhipster:entity</code> or ?</p>

<p>Has anyone successfully done this previously? What are the best practices I should follow in this case?</p>