⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employee.java

📁 struts做得固定资产管理系统 带毕业论文完整版
💻 JAVA
字号:
package com.qrsx.appcam.model;

/**
 * 员工类
 * 
 * @author Administrator
 * 
 */
public class Employee {

	private Integer id;// 编号 主键

	private String code;// 员工代码

	private String name;// 姓名

	private Integer roleId;// 角色	

	private Integer deptmentId;// 所在部门编号

	private String description;// 员工描述

	private Deptment deptment = new Deptment();// 所在部门

	private Role role = new Role();// 员工的角色

	public Employee() {

	}

	/**
	 * @return the role
	 */
	public Role getRole() {
		return role;
	}

	/**
	 * @param role
	 *            the role to set
	 */
	public void setRole(Role role) {
		this.role = role;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @return the deptment
	 */
	public Deptment getDeptment() {
		return deptment;
	}

	/**
	 * @return the deptmentId
	 */
	public Integer getDeptmentId() {
		return deptmentId;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the roleId
	 */
	public Integer getRoleId() {
		return roleId;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @param deptment
	 *            the deptment to set
	 */
	public void setDeptment(Deptment deptment) {
		this.deptment = deptment;
	}

	/**
	 * @param deptmentId
	 *            the deptmentId to set
	 */
	public void setDeptmentId(Integer deptmentId) {
		this.deptmentId = deptmentId;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param roleId
	 *            the roleId to set
	 */
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -