Check unique rows in child table

The user should not be able to add repeated rows in the child table in the parent doctype.
How can I achieve this condition?

Hi @Masoud_Hosseini,

Please check it.
I hope you help.

Thank You!