The present invention relates to a compound which inhibits the activity of BTK (bruton tyrosine kinase) and / or JAK3 (Janus tyrosine kinase 3), a pharmaceutical composition thereof, a use thereof in pharmaceuticals, a method of inhibiting BTK and / or JAK3 activity And to methods of treating and / or preventing a disease or condition mediated by BTK and / or JAK3 of a mammal (particularly a human) using the same. The compound has the structural formula I. Equation I본 발명은 BTK (브루톤 티로신 키나제) 및/또는 JAK3 (야누스 티로신 키나제3)의 활성을 억제하는 화합물, 이의 약물조성물, 이의 제약중에서의 용도, 이를 사용하여 BTK 및/또는 JAK3활성을 억제하는 방법 및 이를 사용하여 포유동물 (특히 사람)의 BTK 및/또는 JAK3에 의해 매개되는 질환 또는 증상을 치료 및/또는 예방하는 방법에 관한 것이다. 상기 화합물은 구조식I를 갖는다.식I