I'm trying to figure out the best option to mark a database entity that could be closed manually or automatically. This entity already have a status that accepts
Now, I would like to "close", but the close action can be manually or automatically, and I will need this information in the future to know how this entity was closed.
So, I think I had two options:
- Create two different status:
- Create one status
CLOSEand create a boolean flag
Is there some obvious option between this two? Is there another option?