dojo省份地市级联之地市封装类
City.java:
/** * 地市封装类 */ package com.you.model; import java.io.Serializable; /** * @author YHD * */ public class City implements Serializable { /** * */ private static final long serialVersionUID = 1L; /** * ID */ private String id; /** * name */ private String name; /** * type */ private String type; /** * @return the id */ public String getId() { return id; } /** * @param id the id to set */ public void setId(String id) { this.id = id; } /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the type */ public String getType() { return type; } /** * @param type the type to set */ public void setType(String type) { this.type = type; } }