Skip to content

Instantly share code, notes, and snippets.

@NsAveek
Created August 19, 2018 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NsAveek/68eb7e1ae9ecccc25c749a1ebf1a7d5f to your computer and use it in GitHub Desktop.
Save NsAveek/68eb7e1ae9ecccc25c749a1ebf1a7d5f to your computer and use it in GitHub Desktop.
public enum EnumFields {
PRIMARY("INTEGER PRIMARY KEY"),
INTEGER("INTEGER"),
TEXT("TEXT");
// Add more types
private String fields;
Fields(String fields){
this.fields = fields;
}
public String getField(){
return fields;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment