MeditationModule.kt 761 Bytes
Newer Older
1 2 3 4
package com.yidianling.muse.bean

data class CollectResultModule(
    val code:String,
范玉宾 committed
5 6 7 8 9 10 11 12
    val data:String,
    val msg:String,
    val errMsg:String
){
    override fun toString(): String {
        return "CollectResultModule(code='$code', data='$data', msg='$msg', errMsg='$errMsg')"
    }
}
13 14 15

data class MeditationCollectRequestModule(
    val meditationId: Long,
范玉宾 committed
16
    val mediaId: Long,
17 18
    val status: Int,
    val businessType:Int
19 20 21 22
)

data class MeditationPlayRecordRequestModule(
    val meditationId:Int,
23 24 25 26
    val isQuit:Int,
    val mediaId:Long,
    val playTime:Int,
    val isComplete:Int
27 28 29 30 31 32
)

data class MeditationPlayRecordResponseModule(
    val code: String,
    val data: String? = null,
    val msg: String? = null,
范玉宾 committed
33
    val errMsg: String? = null
34
)