?? department.java
字號:
package com.emis.model.hr.hibernate;
import java.util.HashSet;
import java.util.Set;
/**
* Department generated by MyEclipse - Hibernate Tools
*/
public class Department implements java.io.Serializable {
// Fields
private Short id;
private String name;
private String phone;
private String remarks;
private Set employees = new HashSet(0);
private Set assets = new HashSet(0);
// Constructors
/** default constructor */
public Department() {
}
/** minimal constructor */
public Department(Short id, String name, String phone, String remarks) {
this.id = id;
this.name = name;
this.phone = phone;
this.remarks = remarks;
}
/** full constructor */
public Department(Short id, String name, String phone, String remarks, Set employees, Set assets) {
this.id = id;
this.name = name;
this.phone = phone;
this.remarks = remarks;
this.employees = employees;
this.assets = assets;
}
// Property accessors
public Short getId() {
return this.id;
}
public void setId(Short 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 getRemarks() {
return this.remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Set getEmployees() {
return this.employees;
}
public void setEmployees(Set employees) {
this.employees = employees;
}
public Set getAssets() {
return this.assets;
}
public void setAssets(Set assets) {
this.assets = assets;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -