In explaining $C_v = \left(\frac{\partial u}{\partial T}\right)_V$, my textbook first writes that $\delta q = du$ for a constant volume process, and then that that $dq=C_v dT$ 'from the definition of $C_v$' which they have given as "the energy required to raise the temperature of a unit mass of substance by one degree as the volume is maintained constant."
Then the two are equated to get $C_v = \left(\frac{\partial u}{\partial T}\right)_V$
However, what's not explained is why can dQ be expressed as the product of some quantity $C_v$ times $dT$. Intuitively it makes sense that heating a system would increase its temperature. But why would this necessarily be depending on the product of temperature change $dT$ and some $C_v$. Is this based on some empirical observation that hasn't been stated? I don't see how it follows directly from the definition