mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-23 20:06:30 +08:00
init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.lizongying.mytv
|
||||
|
||||
import java.io.Serializable
|
||||
|
||||
/**
|
||||
* Movie class represents video entity with title, description, image thumbs and video url.
|
||||
*/
|
||||
data class TV(
|
||||
var id: Int = 0,
|
||||
var title: String? = null,
|
||||
var videoUrl: String? = null,
|
||||
) : Serializable {
|
||||
|
||||
override fun toString(): String {
|
||||
return "TV{" +
|
||||
"id=" + id +
|
||||
", title='" + title + '\'' +
|
||||
", videoUrl='" + videoUrl + '\'' +
|
||||
'}'
|
||||
}
|
||||
|
||||
companion object {
|
||||
internal const val serialVersionUID = 727566175075960653L
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user