package com.skr.mdm.bean.vo;

import com.skr.mdm.bean.vo.department.DepartmentUserVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("部门树对象")
public class DepartmentTreeVO implements Serializable {
	private static final long serialVersionUID = -5597447977167801074L;

	@ApiModelProperty(value = "部门ID")
	private Integer id;

	@ApiModelProperty(value = "上级部门ID")
	private Integer parentId;

	@ApiModelProperty(value = "部门名称")
	private String name;

	@ApiModelProperty(value = "是否显示（0：不显示 1：显示）")
	private Integer isDisplay;

	@ApiModelProperty(value = "子部门")
	private List<DepartmentTreeVO> children;

	@ApiModelProperty(value = "用户信息")
	private List<DepartmentUserVO> userList;
}