📄 power.java
字号:
package model.hr.hibernate;
import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class Power implements Serializable {
/** identifier field */
private Byte id;
/** persistent field */
private String name;
/** persistent field */
private String remarks;
/** persistent field */
private Set employees;
/** full constructor */
public Power(String name, String remarks, Set employees) {
this.name = name;
this.remarks = remarks;
this.employees = employees;
}
/** default constructor 初始化员工权限状况*/
public Power() {
this.name = "";
this.remarks = "";
this.employees = new HashSet();
}
public Byte getId() {
return this.id;
}
public void setId(Byte id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
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 String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -