The Enum pattern
An enum (short for “Enumeration”) is a value type that represents a set of named constants. This type allow you to define a set of named values that have underlying values, usually numeric ones.
In this post, we will discuss on how to extent this type to store more data, and use them in a simple Angular select list.