The present invention relates to a general formula (I) compound or the medicinal salt or hydrate of the general formula (I) compound. The present invention also relates to the preparation method of the general formula (I) compound, as well as the medicinal effect of the general formula (I) compound or the medicinal salt or hydrate of the general formula (I) compound, especially the medicinal effect for the treatment and prevention of hepatitis B.