The Collision event does not work in ECS

I have created a cube with a plane as shown in the picture.

I want to catch an event when the cube touches the plane.
I tried the code provided by Unity in the documentation of Unity Physics 1.0.14 but it didn’t work.

// paste your code here