Class SysDepartmentToTreeNodeConverter

java.lang.Object
cn.herodotus.engine.logic.upms.converter.SysDepartmentToTreeNodeConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<SysDepartment,cn.hutool.v7.core.tree.TreeNode<String>>

public class SysDepartmentToTreeNodeConverter extends Object implements org.springframework.core.convert.converter.Converter<SysDepartment,cn.hutool.v7.core.tree.TreeNode<String>>

Description: SysDepartment 转 TreeNode 转换器

Author:
: gengwei.zheng
Date:
: 2023/5/30 10:37
  • Constructor Details

    • SysDepartmentToTreeNodeConverter

      public SysDepartmentToTreeNodeConverter()
  • Method Details

    • convert

      public cn.hutool.v7.core.tree.TreeNode<String> convert(SysDepartment sysDepartment)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<SysDepartment,cn.hutool.v7.core.tree.TreeNode<String>>