Last active
July 26, 2018 18:54
-
-
Save lomza/87703c3f1899bf36d88ea5544602feba to your computer and use it in GitHub Desktop.
This file contains hidden or 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 = "DAY_LOOK") | |
data class DayLookEntity( | |
@PrimaryKey(autoGenerate = true) | |
@ColumnInfo(name = "_id") | |
var id: Long? = null, | |
@ColumnInfo(name = "DATE") | |
var date: String, | |
@ColumnInfo(name = "SCREENON") | |
var screenon: Int? = null, | |
@ColumnInfo(name = "SCREENOFF") | |
var screenoff: Int? = null, | |
@ColumnInfo(name = "SCREENUNLOCK") | |
var screenunlock: Int? = null | |
) { | |
constructor() : this( | |
id = null, | |
date = "", | |
screenon = null, | |
screenoff = null, | |
screenunlock = null | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment