# Class/Entities name collision

**URL:** <https://forums.visual-paradigm.com/t/class-entities-name-collision/16688>\
**Category:** UML\
**Tags:** database, modeling, erd\
**Created:** [March 23, 2021, 9:59am UTC](https://forums.visual-paradigm.com/t/class-entities-name-collision/16688 "2021-03-23T09:59:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerzy\_Stachera](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/jerzy_stachera/32/4964_2.png) [@Jerzy\_Stachera](https://forums.visual-paradigm.com/u/Jerzy_Stachera)\
**Post date:** [March 23, 2021, 9:59am UTC](https://forums.visual-paradigm.com/t/class-entities-name-collision/16688/1 "2021-03-23T09:59:13Z")

</div>

Hi. In single project i have few class diagrams, how to separate them on class name level.  
Since when I try to create class with the same name as it is in other class diagram then It shows me warning ‘change to aux view’?  
Use some kind of namespace/package?

BR,  
Jurek

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [March 24, 2021, 1:07am UTC](https://forums.visual-paradigm.com/t/class-entities-name-collision/16688/2 "2021-03-24T01:07:28Z")

</div>

Hi Jurek,

Thank you for your inquiry. A possible solution is to make use of the package header feature to store the classes created in a diagram to a given package. The image below shows how it works. By entering a different package name on top of the class diagrams, the classes created will be kept under the two packages accordingly.

 ![image](https://forums.visual-paradigm.com/uploads/default/original/2X/b/b58fdb7beaa1f2f0b9dc63e4ea5aa1156ef224c6.png)

Hope this helps. Feel free to let us know if you have any other questions.

Best regards,  
Jick Yeung
