?? authoraddress.java
字號:
package com.hibernatebook.annotations;
import javax.persistence.*;
@Embeddable
public class AuthorAddress {
private String address;
private String country;
// Constructors...
protected AuthorAddress() {
}
public AuthorAddress(String address, String country) {
this.address = address;
this.country = country;
}
// Getters...
public String getAddress() {
return address;
}
public String getCountry() {
return country;
}
// Setters...
public void setAddress(String address) {
this.address = address;
}
public void setCountry(String country) {
this.country = country;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -