📄 employee.java
字号:
package com.test.orm.model;
/**
* Employee entity.
*
* @author MyEclipse Persistence Tools
*/
public class Employee implements java.io.Serializable {
// Constructors
private Long id;
private String name;
private String address;
private String phone;
/**
*
*/
private static final long serialVersionUID = -6927136561542571398L;
/** default constructor */
public Employee() {
}
/** full constructor */
public Employee(String name, String address, String phone) {
this.name=name;
this.address=address;
this.phone=phone;
}
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public static long getSerialVersionUID() {
return serialVersionUID;
}
public Employee(Long id, String name, String address, String phone) {
super();
this.id = id;
this.name = name;
this.address = address;
this.phone = phone;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -