Enums in Mongoose projects can be created as reusable objects.
In the main toolbar click Other and select Enum from the drop-down.
![Other object - toolbar](https://www.datensen.com/blog/wp-content/uploads/toolbar-enum-mongoose.webp)
Then click the diagram area to place a new graphical representative to the desired position.
Setting Mongoose enum values
In the right-side panel, you can specify the Name for the Enum type and Enum values.
![Mongoose Enum specification in Moon Modeler](https://www.datensen.com/blog/wp-content/uploads/mongoose-enum-specification.webp)
If you wish to see the generated code, click tab Script in the right-side panel.
How to use the Enum in your Mongoose project?
Just pick the Enum type from the datatype drop-down.
![Mongoose Enum in Moon Modeler](https://www.datensen.com/blog/wp-content/uploads/mongoose-enum-diagram.webp)
#