pull/32/head
parent
d4c2ce68e4
commit
444c46f5cc
@ -1,12 +1,15 @@ |
|||||||
package io.legado.app.data.entities |
package io.legado.app.data.entities |
||||||
|
|
||||||
|
import android.os.Parcelable |
||||||
import androidx.room.Entity |
import androidx.room.Entity |
||||||
import androidx.room.PrimaryKey |
import androidx.room.PrimaryKey |
||||||
|
import kotlinx.android.parcel.Parcelize |
||||||
|
|
||||||
|
@Parcelize |
||||||
@Entity(tableName = "book_groups") |
@Entity(tableName = "book_groups") |
||||||
data class BookGroup( |
data class BookGroup( |
||||||
@PrimaryKey |
@PrimaryKey |
||||||
var groupId: Int = 0, |
var groupId: Int = 0, |
||||||
var groupName: String, |
var groupName: String, |
||||||
var order: Int = 0 |
var order: Int = 0 |
||||||
) |
) : Parcelable |
Loading…
Reference in new issue