zoukankan      html  css  js  c++  java
  • zTree实现地市县三级级联封装类

     zTree实现地市县三级级联封装类


    Province.java:

    /**
     * @Title:Province.java
     * @Package:com.gwtjs.model
     * @Description:省份封装类
     * @author:Youhaidong(游海东)
     * @date:2014-5-10 下午5:17:16
     * @version V1.0
     */
    package com.gwtjs.model;
    
    import java.io.Serializable;
    
    /**
     * 类功能说明
     * 类改动者 改动日期
     * 改动说明
     * <p>Title:Province.java</p>
     * <p>Description:游海东个人开发</p>
     * <p>Copyright:Copyright(c)2013</p>
     * @author:游海东
     * @date:2014-5-10 下午5:17:16
     * @version V1.0
     */
    public class Province implements Serializable 
    {
    	/**
    	 * @Fields  serialVersionUID:序列化
    	 */
    	private static final long serialVersionUID = 1L;
    	
    	/**
    	 * ID
    	 */
    	private Long id;
    	
    	/**
    	 * 省份编码
    	 */
    	private String provinceCode;
    	
    	/**
    	 * 省份名称
    	 */
    	private String provinceName;
    	
    	/**
    	 * 地市编码
    	 */
    	private String cityCode;
    	
    	/**
    	 * 地市名称
    	 */
    	private String cityName;
    	
    	/**
    	 * 县级编码
    	 */
    	private String countyCode;
    	
    	/**
    	 * 县级名称
    	 */
    	private String countyName;
    
    	/**
    	 * @return the id
    	 */
    	public Long getId() {
    		return id;
    	}
    
    	/**
    	 * @param id the id to set
    	 */
    	public void setId(Long id) {
    		this.id = id;
    	}
    
    	/**
    	 * @return the provinceCode
    	 */
    	public String getProvinceCode() {
    		return provinceCode;
    	}
    
    	/**
    	 * @param provinceCode the provinceCode to set
    	 */
    	public void setProvinceCode(String provinceCode) {
    		this.provinceCode = provinceCode;
    	}
    
    	/**
    	 * @return the provinceName
    	 */
    	public String getProvinceName() {
    		return provinceName;
    	}
    
    	/**
    	 * @param provinceName the provinceName to set
    	 */
    	public void setProvinceName(String provinceName) {
    		this.provinceName = provinceName;
    	}
    
    	/**
    	 * @return the cityCode
    	 */
    	public String getCityCode() {
    		return cityCode;
    	}
    
    	/**
    	 * @param cityCode the cityCode to set
    	 */
    	public void setCityCode(String cityCode) {
    		this.cityCode = cityCode;
    	}
    
    	/**
    	 * @return the cityName
    	 */
    	public String getCityName() {
    		return cityName;
    	}
    
    	/**
    	 * @param cityName the cityName to set
    	 */
    	public void setCityName(String cityName) {
    		this.cityName = cityName;
    	}
    
    	/**
    	 * @return the countyCode
    	 */
    	public String getCountyCode() {
    		return countyCode;
    	}
    
    	/**
    	 * @param countyCode the countyCode to set
    	 */
    	public void setCountyCode(String countyCode) {
    		this.countyCode = countyCode;
    	}
    
    	/**
    	 * @return the countyName
    	 */
    	public String getCountyName() {
    		return countyName;
    	}
    
    	/**
    	 * @param countyName the countyName to set
    	 */
    	public void setCountyName(String countyName) {
    		this.countyName = countyName;
    	}
    	
    }
    


  • 相关阅读:
    xtrabackup备份原理
    四“当”
    MySQL BinLog Server 搭建实战
    mysqldump 原理
    MGR测试及搭建
    自动化测试-12.selenium的弹出框处理
    自动化测试-11.selenium的下拉框处理类Select
    自动化测试-10.selenium的iframe与Frame
    自动化测试-9.selenium多窗口句柄的切换
    自动化测试-8.selenium操作元素之键盘和鼠标事件
  • 原文地址:https://www.cnblogs.com/lytwajue/p/6950846.html
Copyright © 2011-2022 走看看