zipcitystate.java

来自「ajax修炼之道源代码。很难下到的。现在奉献给大家。」· Java 代码 · 共 46 行

JAVA
46
字号
/*** * Excerpted from "Pragmatic Ajax" * We make no guarantees that this code is fit for any purpose.  * Visit http://www.pragmaticprogrammer.com/titles/ajax for more book information.***/package ajaxian.book.crm.model;

/**
 * @author Dion Almaer
 */
public class ZipCityState {
    private String zip;
    private String city;
    private String state;

    public ZipCityState(String zip, String city, String state) {
        this.zip = zip;
        this.city = city;
        this.state = state;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?