city.java

来自「Struts,spring ,hibernate,开发的树型结构!」· Java 代码 · 共 53 行

JAVA
53
字号
package com.ssh.entity;

/**
 * City generated by MyEclipse Persistence Tools
 */

public class City implements java.io.Serializable {

	// Fields

	private Integer cid;
	private Province province;
	private String cname;

	// Constructors

	/** default constructor */
	public City() {
	}

	/** full constructor */
	public City(Province province, String cname) {
		this.province = province;
		this.cname = cname;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Province getProvince() {
		return this.province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

}

⌨️ 快捷键说明

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