mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Clean up history restoring
This commit is contained in:
parent
3ac68e810d
commit
5fec881387
3 changed files with 49 additions and 38 deletions
|
@ -7,4 +7,13 @@ data class History(
|
|||
val chapterId: Long,
|
||||
val readAt: Date?,
|
||||
val readDuration: Long,
|
||||
)
|
||||
) {
|
||||
companion object {
|
||||
fun create() = History(
|
||||
id = -1L,
|
||||
chapterId = -1L,
|
||||
readAt = null,
|
||||
readDuration = -1L,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue