I am using Domain-driven-design for a project and as I am modeling the Aggregates I came across a scenario where one of its attributes has restricted input of only certain types. I know I would code this as an enum but aggregrate modeling is supposed to be above the implementation details.
How do I represent what would be an enum in the aggregate model ? This is my approach so far :
is this the correct way to represent this?