Last active
March 20, 2018 16:19
-
-
Save johanvergeer/9408a4c9170d76adb5390eb9f8ea1128 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A simple Spring Boot Entity written in Kotlin | |
data class PersonEntity( | |
@Id | |
@GeneratedValue(strategy=GenerationType.AUTO) | |
val id: Long = -1, | |
val name: String = "" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment