Let $\alpha, \beta$ be real numbers and $z$ a complex number. If $z^{2}+\alpha z+\beta=0$ has two distinct roots on the line $\operatorname{Re}(z)=1$, then it is necessary that
(A) $\beta \in(-1,0)$
(B) $|\beta|=1$
(C) $\beta \in(1, \infty)$
(D) $\beta \in(0,1)$