IE: A model called Equipment responsible for storing information about equipments, and its status.
My question is, what is the efficient way to store an item's status. My approach is creating different model called EquipmentStatus. But when it comes to write the code, you need to write code like below :
if(equiment.equipmentstatusid == 2)
I think it is not good approach. What is the best way to do this ?