Enums, short for “enumerations,” are a data type in many programming languages that consist of a set of named values called elements or members. These named values represent fixed, distinct, and related items within a collection, making the code more readable and maintainable by providing meaningful names instead of numeric or string literals.
Here enums allow developers to define list of values. Entities can have one more fields with data type as enum. A table is created for each enumeration with id and string value. The entity table will have the id of the enum instead of the string value.