Is epilepsy a transferable disease or it is genetic?

Are there any example of people who have completely cured this disease? My brother is suffering from this disease, is there a chance that me and my children will suffer the same one day.

Please help.