The first and foremost point we need to understand is how we design our Model or Data Model in Play Framework Scala-based applications. This may be a bit different for Play Framework Java-based applications.
In Play Framework Scala-based applications, we use a concept called Scala Case classes to design our Data Models, because they are very handy and provide a lot of free benefits. For instance, we don't need to write getters at all. Scala provides them for free automatically.
You can refer to the Scala Case Classes section in Chapter 2, Functional Scala, , for more information on the benefits of Scala Case Classes.