package com.xinelu.manage.vo.projectgroup;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 检测项目分组树形结构查询返回视图类
 * @author: haown
 * @create: 2024-03-11 15:30
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProjectGroupTreeVo {

	/**
	 * 节点ID
	 */
	private Long id;

	/**
	 * 节点名称
	 */
	private String label;

	/**
	 * 节点名称
	 */
	private String value;

	/**
	 * 子节点
	 */
	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	private List<ProjectGroupTreeVo> children;

}
