user.java
来自「自己写的一个Java swing 单机框架」· Java 代码 · 共 51 行
JAVA
51 行
package cn.haha.sql.user;
/**
* User entity.
*
* @author MyEclipse Persistence Tools
*/
public class User implements java.io.Serializable {
// Fields
private Integer id;
private String name;
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(Integer id) {
this.id = id;
}
/** full constructor */
public User(Integer id, String name) {
this.id = id;
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 + -
显示快捷键?