Skip to content

Instantly share code, notes, and snippets.

@tao-qian
Created August 31, 2016 17:35
Show Gist options
  • Save tao-qian/2d2fb9a35c8683e5a1a933c66258a27c to your computer and use it in GitHub Desktop.
Save tao-qian/2d2fb9a35c8683e5a1a933c66258a27c to your computer and use it in GitHub Desktop.
public enum {{{classname}}} {
{{#allowableValues}}
{{#values}}{{.}},{{/values}}
{{/allowableValues}}
@JsonEnumDefaultValue
ENUM_DEFAULT_VALUE
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment