package com.sifang.modules.sunshine.SystemSetting.form;





import com.google.common.collect.Lists;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Generated by JFinal.
 */
@SuppressWarnings("serial")
public class DepartmentVo  {

	private List<DepartmentVo> children = Lists.newArrayList();

	public String id ;



	/**
	 * 部门名称
	 */
	public String name;

	public String title;


	/**
	 * 部门编码
	 */
	public String code;


	/**
	 * 上级部门
	 */
	public String parentId;

	/**
	 * 部门层级
	 */
	public Integer hierarchy;

	private String createTime;

	private boolean checked;


	/****
	 *  前端显示部门
	 */
	public String frontDepartment;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public List<DepartmentVo> getChildren() {
		return children;
	}

	public void setChildren(List<DepartmentVo> children) {
		this.children = children;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

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

	public String getCode() {
		return code;
	}

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

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getHierarchy() {
		return hierarchy;
	}

	public void setHierarchy(Integer hierarchy) {
		this.hierarchy = hierarchy;
	}

	public String getFrontDepartment() {
		return frontDepartment;
	}

	public void setFrontDepartment(String frontDepartment) {
		this.frontDepartment = frontDepartment;
	}
}
