The present invention relates to a compound of formula (I) or a pharmaceutically acceptable salt or hydrate thereof, to a process for preparing the compound of formula (I), and to use of the compound of formula (I) or a pharmaceutically acceptable salt or hydrate thereof as a medicament, in particular as a medicament for the treatment and prevention of type B hepatitis.