All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antwerkz.critter.test.Address.kt Maven / Gradle / Ivy

There is a newer version: 3.0.4
Show newest version
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