com.antwerkz.critter.test.Address.kt Maven / Gradle / Ivy
package com.antwerkz.critter.test
import org.mongodb.morphia.annotations.Embedded
import org.mongodb.morphia.annotations.Property
@Embedded
class Address {
@Property("c")
var city: String? = null
var state: String? = null
var zip: String? = null
constructor() {}
constructor(city: String, state: String, zip: String) {
this.city = city
this.state = state
this.zip = zip
}
override fun toString(): String {
return "Address{" +
"city='" + city + '\'' +
", state='" + state + '\'' +
", zip='" + zip + '\'' +
'}'
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy