The present invention relates to 4-methyldihydropyrimidinone compounds, or pharmaceutically acceptable salts thereof, having RORγ antagonist activity, pharmaceutical compositions comprising the same, and pharmaceutical use thereof. A compound of Formula (1) or (2) or a pharmaceutically acceptable salt thereof, a pharmaceutical composition comprising the same, and pharmaceutical use thereof are provided.本發明係有關具有類視黃醇相關的孤兒受體γ(ROR γ)拮抗活性之4-甲基二氫嘧啶酮化合物或其製藥上容許之鹽、含有該化合物之醫藥組成物及其醫藥用途。本發明提供式(1)或式(2)之化合物或其製藥上容許之鹽、含有該化合物之醫藥組成物及其醫藥用途。