Skip to content

Instantly share code, notes, and snippets.

@PauloLinhares09
Created September 14, 2018 22:45
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 PauloLinhares09/aabdfbbcfd1be62c94d4ee42a0072b73 to your computer and use it in GitHub Desktop.
Save PauloLinhares09/aabdfbbcfd1be62c94d4ee42a0072b73 to your computer and use it in GitHub Desktop.
@Entity(tableName = "team")
class Team(
@PrimaryKey(autoGenerate = true) var id : Long?,
@ColumnInfo(name = "name") var name : String,
@ColumnInfo(name = "since") var since : String){
constructor() : this(null, "", "")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment