Created
April 30, 2019 00:19
-
-
Save agustarc/57334ce4539410d8d039f654b233551b to your computer and use it in GitHub Desktop.
This file contains 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
@Preference | |
interface Account { | |
@PreferenceField(key = "pref_name", default = "leopold", predicate = { it.length > 2 }) | |
var name: String | |
var age: Int | |
var hireable: Boolean | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment