📄 abstracttaddressbook.java
字号:
package hibernatemodel;
/**
* AbstractTAddressbook entity provides the base persistence definition of the
* TAddressbook entity.
*
* @author MyEclipse Persistence Tools
*/
public abstract class AbstractTAddressbook implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String phone;
private String address;
private String email;
private String province;
// Constructors
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
/** default constructor */
public AbstractTAddressbook() {
}
/** minimal constructor */
public AbstractTAddressbook(Integer id) {
this.id = id;
}
/** full constructor */
public AbstractTAddressbook(String name, String phone,
String address,String email,String province) {
this.name = name;
this.phone = phone;
this.address = address;
this.email=email;
this.province=province;
}
// 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;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -