add domain event inherit sample