Provided are heterocyclic compounds represented by formula (I), stereoisomers or pharmaceutically acceptable salts of said compounds, a pharmaceutical composition of said compounds, and an application of said compounds in the preparation of a drug for the prevention and/or treatment of a central nervous system disease.