Created
September 14, 2018 22:45
-
-
Save PauloLinhares09/aabdfbbcfd1be62c94d4ee42a0072b73 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
@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