This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Off(val id: Int, val offName: String) | |
data class Prop(val id: Int, val propName: String, val offId: Int) | |
data class Joined(val off: Off, val props: List<Prop>) | |
fun main(args: Array<String>) { | |
val offs: List<Off> = listOf( | |
Off(id = 1, offName = "Off A"), | |
Off(id = 2, offName = "Off B") | |
) | |
val props: List<Prop> = listOf( |