Skip to content

Commit 110842c

Browse files
committed
update
1 parent c98b3e2 commit 110842c

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed
Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.wzq.jd.compose.app.data.model
22

3-
import kotlinx.serialization.SerialName
43
import kotlinx.serialization.Serializable
54

65
/**
@@ -14,15 +13,3 @@ data class NetResult<T>(
1413
val errorMsg: String
1514
)
1615

17-
@Serializable
18-
data class PagingResult<T>(
19-
val curPage: Int,
20-
@SerialName("datas")
21-
val listData: List<T>,
22-
val offset: Int,
23-
val over: Boolean,
24-
val pageCount: Int,
25-
val size: Int,
26-
val total: Int
27-
)
28-
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.wzq.jd.compose.app.data.model
2+
3+
import kotlinx.serialization.SerialName
4+
import kotlinx.serialization.Serializable
5+
6+
@Serializable
7+
data class PagingResult<T>(
8+
val curPage: Int,
9+
@SerialName("datas")
10+
val listData: List<T>,
11+
val offset: Int,
12+
val over: Boolean,
13+
val pageCount: Int,
14+
val size: Int,
15+
val total: Int
16+
)
17+

0 commit comments

Comments
 (0)