| package com.zt.core.sys.dto; | 
|   | 
| import com.fasterxml.jackson.annotation.JsonIgnore; | 
| import lombok.Data; | 
|   | 
| import java.util.ArrayList; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 字典类型叶子节点 | 
|  * | 
|  * @author hehz | 
|  */ | 
| @Data | 
| public class DictLeafDto extends DictDto { | 
|   | 
|     public DictLeafDto(String dictType, String dictName) { | 
|         super(dictType, dictName); | 
|     } | 
|   | 
|     private List<DictItemDto> dataList = new ArrayList<>(); | 
|   | 
|     @Override | 
|     @JsonIgnore | 
|     public List<DictDto> getChildren() { | 
|         return super.getChildren(); | 
|     } | 
| } |