In <https://spring.io/blog/2016/02/15/developing-s...
# codereview
m
In https://spring.io/blog/2016/02/15/developing-spring-boot-applications-with-kotlin they use
Copy code
@Entity
class Customer(
	var firstName: String = "",
	var lastName: String = "",
	@Id @GeneratedValue(strategy = GenerationType.AUTO)
	var id: Long = 0
)