?? employees.java
字號:
package com.liu.ems.hibernate;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* Employees generated by MyEclipse - Hibernate Tools
public class Employees implements java.io.Serializable {
// Fields
private Long empid;
private Departments departments;
private String empName;
private Integer age;
private String sex;
private Date hireDate;
private String roleids;
private String note;
private Set userses = new HashSet(0);
// Constructors
/** default constructor */
public Employees() {
}
/** minimal constructor */
public Employees(Departments departments, String empName, String roleids) {
this.departments = departments;
this.empName = empName;
this.roleids = roleids;
}
/** full constructor */
public Employees(Departments departments, String empName, Integer age, String sex, Date hireDate, String roleids, String note, Set userses) {
this.departments = departments;
this.empName = empName;
this.age = age;
this.sex = sex;
this.hireDate = hireDate;
this.roleids = roleids;
this.note = note;
this.userses = userses;
}
// Property accessors
public Long getEmpid() {
return this.empid;
}
public void setEmpid(Long empid) {
this.empid = empid;
}
public Departments getDepartments() {
return this.departments;
}
public void setDepartments(Departments departments) {
this.departments = departments;
}
public String getEmpName() {
return this.empName;
}
public void setEmpName(String empName) {
this.empName = empName;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Date getHireDate() {
return this.hireDate;
}
public void setHireDate(Date hireDate) {
this.hireDate = hireDate;
}
public String getRoleids() {
return this.roleids;
}
public void setRoleids(String roleids) {
this.roleids = roleids;
}
public String getNote() {
return this.note;
}
public void setNote(String note) {
this.note = note;
}
public Set getUserses() {
return this.userses;
}
public void setUserses(Set userses) {
this.userses = userses;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -