Compounds of the formula I, and their pharmaceutically acceptable salts or hydrates, wherein, X is O, S, NH or NCH 3; Y can be 1-4 substituents optionally selected from halogen, trihalomethyl, methyl, cyano and nitro groups; M is Z is O or S; n is an integer between 1 and 6; R 1 and R 2, which are same or different, are independently selected from hydrogen, (C 1 -C 10) alkyl, (C 3 -C 7) cycloalkyl, (C 2 -C 10) alkenyl and (C 2 -C 10) alkynyl, wherein R 1 and R 2 are optionally substituted with 1-3 same or different R 3; Or R 1 and R 2 are covalently bonded together with the nitrogen atom to which they are attached to form 5- to 10-membered heterocyclic radical or 5- to 10-membered heteroaryl radical. Except the nitrogen atom to which R 1 and R 2 are attached, the said heterocyclic and heteroaryl radicals may contain 1 to 4 heteroatoms optionally selected from N, O and S. Except the nitrogen atom to which R 1 and R 2 are attached, the said heterocyclic radical may optionally contain 1 to 2 carbon-carbon double bonds or triple bonds. The said heterocyclic and heteroaryl radicals can be optionally substituted with 1 to 3 same or different R 3; R 3 is (C 1 -C 4) alkyl, R 4 is hydrogen or (C 1 -C 6) alkyl; Ar is (C 6 -C 10) aryl or 5- to 10-membered heteroaryl radical. The said heteroaryl radical may contain 1 to 3 heteroatoms optionally selected from N, O and S. Ar can be optionally substituted with 1 to 3 same or different R 5; R 5 is hydroxyl, halogen, nitro, amino, cyano, (C 1 -C 6) alkyl, (C 2 -C 6) alkenyl, (C 2 -C 6) alkynyl, (C 1 -C 6) alkoxyl, (C 1 -C 6) alkyl or (C 1 -C 6) alkoxyl which is optionally substituted with hydroxyl, amino or halogen, amino group substituted with 1 or 2 (C 1 -C 6) alkyl groups, (C 1 -C 6) alkylcarbonylamino, carboxyl group which can be free, salts, amidated or form ester group, (C 1 -C 6) alkylsulfinyl, (C 1 -C 6) alkylsulfonyl, (C 1 -C 6) alkylacyl, carbamoyl, carbamoyl substituted with lor 2 (C 1 -C 6) alkyl, (C 1 -C 3) alkylenedioxo, allyl. X is O, S, NH or NCH 3; Y can be 1-4 substituents optionally selected from halogen, trihalomethyl, methyl, cyano and nitro groups; M is Z is O or S; n is an integer between 1 and 6; R 1 and R 2, which are same or different, are independently selected from hydrogen, (C 1 -C 10) alkyl, (C 3 -C 7) cycloalkyl, (C 2 -C 10) alkenyl and (C 2 -C 10) alkynyl, wherein R 1 and R 2 are optionally substituted with 1-3 same or different R 3; Or R 1 and R 2 are covalently bonded together with the nitrogen atom to which they are attached to form 5- to 10-membered heterocyclic radical or 5- to 10-membered heteroaryl radical. Except the nitrogen atom to which R 1 and R 2 are attached, the said heterocyclic and heteroaryl radicals may contain 1 to 4 heteroatoms optionally selected from N, O and S. Except the nitrogen atom to which R 1 and R 2 are attached, the said heterocyclic radical may optionally contain 1 to 2 carbon-carbon double bonds or triple bonds. The said heterocyclic and heteroaryl radicals can be optionally substituted with 1 to 3 same or different R 3; R 3 is (C 1 -C 4) alkyl, R 4 is hydrogen or (C 1 -C 6) alkyl; Ar is (C 6 -C 10) aryl or 5- to 10-membered heteroaryl radical. The said heteroaryl radical may contain 1 to 3 heteroatoms optionally selected from N, O and S. Ar can be optionally substituted with 1 to 3 same or different R 5; R 5 is hydroxyl, halogen, nitro, amino, cyano, (C 1 -C 6) alkyl, (C 2 -C 6) alkenyl, (C 2 -C 6) alkynyl, (C 1 -C 6) alkoxyl, (C 1 -C 6) alkyl or (C 1 -C 6) alkoxyl which is optionally substituted with hydroxyl, amino or halogen, amino group substituted with 1 or 2 (C 1 -C 6) alkyl groups, (C 1 -C 6) alkylcarbonylamino, carboxyl group which can be free, salts, amidated or form ester group, (C 1 -C 6) alkylsulfinyl, (C 1 -C 6) alkylsulfonyl, (C 1 -C 6) alkylacyl, carbamoyl, carbamoyl substituted with lor 2 (C 1 -C 6) alkyl, (C 1 -C 3) alkylenedioxo, allyl.