Disclosed is a compound of Formula (I), or a stereoisomer thereof, or a pharmaceutically acceptable salt thereof, and pharmaceutical compositions comprising thereof. Also disclosed is a method of treating PI3Kδ related disorders or diseases by using the compound disclosed herein.本申請公開了式(I)化合物或其立體異構物或其醫藥上可接受之鹽,以及包含其的醫藥組合物。本申請還公開了通過使用本申請所述的化合物治療PI3Kδ相關的病症或疾病的方法。