I want to use equation numbering like this

I tried like this but doesn't work
\begin{equation}
\begin{cases}
\varlimsup_{r \to \infty} \dfrac{\log ^{+} n\left\{U_{k=1}^{N} \Omega\left(\theta_{k}+\varepsilon, \theta_{k+1}-\varepsilon ; r\right), f=0\right\}}{\log r}<\mu, &\text{if } \mu>0 \tag{2.5}\label{e2.5}\\
\varlimsup_{r \rightarrow \infty} \dfrac{\sum_{k=1}^{N} n\left(\Omega\left(\theta_{k}+\varepsilon, \theta_{k+1}-\varepsilon ; r\right), f=0\right)}{\log r}<+\infty, & \text{if } \mu=0,\tag{2.6}\label{e2.6}
\end{cases}
\end{equation}


