?? user.java
字號(hào):
package com.tb;
import java.util.HashSet;
import java.util.Set;
/**
* User generated by MyEclipse - Hibernate Tools
*/
public class User implements java.io.Serializable {
// Fields
private Long id;
private String name;
private Long age;
private Set contents = new HashSet(0);
// Constructors
/** default constructor */
public User() {
}
/** minimal constructor */
public User(Long id) {
this.id = id;
}
/** full constructor */
public User(Long id, String name, Long age, Set contents) {
this.id = id;
this.name = name;
this.age = age;
this.contents = contents;
}
// Property accessors
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getAge() {
return this.age;
}
public void setAge(Long age) {
this.age = age;
}
public Set getContents() {
return this.contents;
}
public void setContents(Set contents) {
this.contents = contents;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -