public virtual bool Equals(AccountStatus other) { if (null != other && other.GetType() == GetType()) { return other.Status == Status; } return false; }