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

📄 department.java

📁 该项目基于mvc模式
💻 JAVA
字号:
package com.sunny.test.model;

import java.util.Date;

/**
 * Department generated by MyEclipse Persistence Tools
 */

public class Department implements java.io.Serializable
{

	// Fields

	private String code;
	private String name;
	private String description;
	private String parentCode;
	private String rootCode;
	private Integer orders;
	private Integer childCount;
	private Date addDate;
	private Integer type;
	private Integer layer;

	// Constructors

	/** default constructor */
	public Department()
	{
	}

	/** minimal constructor */
	public Department(String name, String parentCode, String rootCode,
			Integer orders, Integer childCount, Date addDate, Integer type,
			Integer layer)
	{
		this.name = name;
		this.parentCode = parentCode;
		this.rootCode = rootCode;
		this.orders = orders;
		this.childCount = childCount;
		this.addDate = addDate;
		this.type = type;
		this.layer = layer;
	}

	/** full constructor */
	public Department(String name, String description, String parentCode,
			String rootCode, Integer orders, Integer childCount, Date addDate,
			Integer type, Integer layer)
	{
		this.name = name;
		this.description = description;
		this.parentCode = parentCode;
		this.rootCode = rootCode;
		this.orders = orders;
		this.childCount = childCount;
		this.addDate = addDate;
		this.type = type;
		this.layer = layer;
	}

	// Property accessors

	public String getCode()
	{
		return this.code;
	}

	public void setCode(String code)
	{
		this.code = code;
	}

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescription()
	{
		return this.description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getParentCode()
	{
		return this.parentCode;
	}

	public void setParentCode(String parentCode)
	{
		this.parentCode = parentCode;
	}

	public String getRootCode()
	{
		return this.rootCode;
	}

	public void setRootCode(String rootCode)
	{
		this.rootCode = rootCode;
	}

	public Integer getOrders()
	{
		return this.orders;
	}

	public void setOrders(Integer orders)
	{
		this.orders = orders;
	}

	public Integer getChildCount()
	{
		return this.childCount;
	}

	public void setChildCount(Integer childCount)
	{
		this.childCount = childCount;
	}

	public Date getAddDate()
	{
		return this.addDate;
	}

	public void setAddDate(Date addDate)
	{
		this.addDate = addDate;
	}

	public Integer getType()
	{
		return this.type;
	}

	public void setType(Integer type)
	{
		this.type = type;
	}

	public Integer getLayer()
	{
		return this.layer;
	}

	public void setLayer(Integer layer)
	{
		this.layer = layer;
	}

}

⌨️ 快捷键说明

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