Entity vs. EnumValueObject
p-bojkowski opened this issue · 2 comments
p-bojkowski commented
Hi :)
I just saw this class: Industry.cs
What is the advantage of implementing "Industry" as Entity instead of EnumValueObject?
vkhorikov commented
I wrote that code when there was no EnumValueObject class. Currently, you can just use EnumValueObject.
Technically, Industry is an entity, but there's no point in introducing EnumEntity, because the 2 enums will behave almost exactly the same.
p-bojkowski commented
Thanks @vkhorikov ! :)