id: String, val firstName: String, val lastName: String?, @field:Ignore val books: List<Book>) { constructor(id: String = UUID.randomUUID().toString(), firstName: String, lastName: String?) : this(id, firstName, lastName, listOf()) } Needs @field:Ignore on books Primary constructor is @Ignored for Room