nationality.java
来自「网上结婚登记系统 Java语言编写 可直接运行」· Java 代码 · 共 57 行
JAVA
57 行
package task.domain;
/**
* Nationality entity. @author MyEclipse Persistence Tools
*/
public class Nationality implements java.io.Serializable {
// Fields
private Integer id;
private String name;
// Constructors
/** default constructor */
public Nationality() {
}
/** full constructor */
public Nationality(String name) {
this.name = name;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?