Skip to content

Instantly share code, notes, and snippets.

@adam-hurwitz
Last active August 22, 2017 00:08
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 adam-hurwitz/df754184b56fea2e14395d8cd197ec8a to your computer and use it in GitHub Desktop.
Save adam-hurwitz/df754184b56fea2e14395d8cd197ec8a to your computer and use it in GitHub Desktop.
@Table(name = "ModelName", database = DatabaseName::class)
data class Group(@PrimaryKey(autoincrement = false) @Column(name = "id") var id: String = "",
@Column(name = "name") var name: String = "",
var coverPhoto: CoverPhoto? = null,
var emailDomains: Array<String>? = null) : BaseModel() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment