I would like to create a class, which has an enumeration as attribute. This enumeration should have a string representation. In the minimal working example below, I created