Don't use data class in this case
This commit is contained in:
parent
4437f978b3
commit
e9d2f5b308
2 changed files with 9 additions and 12 deletions
|
@ -1,7 +1,5 @@
|
|||
# api
|
||||
|
||||
# Wulkanowy
|
||||
|
||||
[![CircleCI](https://img.shields.io/circleci/project/github/wulkanowy/api/master.svg?style=flat-square)](https://circleci.com/gh/wulkanowy/api)
|
||||
[![Codecov](https://img.shields.io/codecov/c/github/wulkanowy/api/master.svg?style=flat-square)](https://codecov.io/gh/wulkanowy/api)
|
||||
[![Bintray](https://img.shields.io/bintray/v/wulkanowy/wulkanowy/api.svg?style=flat-square)](https://bintray.com/wulkanowy/wulkanowy/api)
|
||||
|
|
|
@ -2,16 +2,15 @@ package io.github.wulkanowy.api.notes
|
|||
|
||||
import pl.droidsonroids.jspoon.annotation.Selector
|
||||
|
||||
data class Note(
|
||||
class Note {
|
||||
lateinit var date: String
|
||||
|
||||
var date: String = "",
|
||||
@Selector(".wartosc", index = 0)
|
||||
lateinit var teacher: String
|
||||
|
||||
@Selector(".wartosc", index = 0)
|
||||
var teacher: String = "",
|
||||
@Selector(".wartosc", index = 1)
|
||||
lateinit var category: String
|
||||
|
||||
@Selector(".wartosc", index = 1)
|
||||
var category: String = "",
|
||||
|
||||
@Selector(".wartosc", index = 2)
|
||||
var content: String = ""
|
||||
)
|
||||
@Selector(".wartosc", index = 2)
|
||||
lateinit var content: String
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue