[add] RealmObject Fruit and Temple
1 parent bcac804 commit f2dfd0173c24b6ade444bc7c495f4344d44a9242
KeijuMatsumoto authored on 2 Nov 2017
Showing 2 changed files
View
13
app/src/main/kotlin/jackall/moncalc/vo/Fruit.kt 0 → 100644
package jackall.moncalc.vo
 
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
 
/**
* Created by matsumoto_k on 2017/11/02.
*/
class Fruit(
@PrimaryKey
val id: Int = -1,
val name: String = ""
) : RealmObject()
View
13
app/src/main/kotlin/jackall/moncalc/vo/Temple.kt 0 → 100644
package jackall.moncalc.vo
 
import io.realm.RealmObject
import io.realm.annotations.PrimaryKey
 
/**
* Created by matsumoto_k on 2017/11/01.
*/
class Temple(
@PrimaryKey
val id: Int = -1,
val name: String = ""
) : RealmObject()