city.java
来自「该项目基于mvc模式」· Java 代码 · 共 60 行
JAVA
60 行
package com.sunny.test.model;
/**
* City generated by MyEclipse Persistence Tools
*/
public class City implements java.io.Serializable
{
private static final long serialVersionUID = -3446745120451943234L;
private Integer id;
private Integer provinceId;
private String name;
// Constructors
/** default constructor */
public City()
{
}
/** full constructor */
public City(Integer provinceId, String name)
{
this.provinceId = provinceId;
this.name = name;
}
// Property accessors
public Integer getId()
{
return this.id;
}
public void setId(Integer id)
{
this.id = id;
}
public Integer getProvinceId()
{
return this.provinceId;
}
public void setProvinceId(Integer provinceId)
{
this.provinceId = provinceId;
}
public String getName()
{
return this.name;
}
public void setName(String name)
{
this.name = name;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?