Station? = RestaurantModel .getNearestStation(id) restaurant.nearestStation = station /6--ڐ༰ܕ ɾTFSJBMJ[F͞ΕͯΫϥΠΞϯτʹ͛Δܕ/6--ڐ༰͔Ͳ͏͔ॏཁ data class Restaurant(val id: Long, val name: String, var station: Station?) ɾ/6--ڐ༰͔Ͳ͏͔ίϯύΠϥͰνΣοΫ͞ΕΔ
val restaurantId: Long, override val restaurantName: String, var station: Station?): IRestaurantInfo interface IRestaurantInfo { @JsonProperty(“restaurant_id”) val restaurantId: Long @JsonProperty(“restaurant_name”) val restaurantName: String }