Business Object properties: model as Objects or Enums?
If I want to represent status types i.e .
started
in progress
completed
etc.
I know I can use Enum's in normal code but how should i represent them in
the business objects layer, as objects or as enums, I am thinking about
whether to use static classes?
any advice would be appreciated.
A context example would be I have new job business object and it has a
status of inprogress when retrieved.
Hope this makes sense?
No comments:
Post a Comment