File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed
app/src/main/java/com/wzq/jd/compose/app/data/model Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 11package com.wzq.jd.compose.app.data.model
22
3- import kotlinx.serialization.SerialName
43import 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-
Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments