Kotlin, expose and manytoone relationships

I was looking at the expose framework and was wondering how you handle one to many and many to one relationships.

A typical example would be stories and categories.
A story can be in several categories like “horror”, “SF”, “short story”.
Usually in jpa one would write
@manytoone private List<Category> categories;

Later you can use this to select stories based on category

"select s from Story s where s.category in (select c from category c where c.id in.....)"