Creating an Entity Class

We'll cover the following

Defining an entity class

Seeing the H2 library in the classpath, Spring has already configured the database. We need to define an entity class that represents data that will be stored in a table in the database.

Kotlin vs. Java

Again, if we were using Java, we’d write the Task entity class like so:

Get hands-on with 1400+ tech skills courses.