jinlin
2023-11-27 5d8c028ff37838e0628d5852e41b19efc80e4be1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/**
 * Copyright (c) 2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有,侵权必究!
 */
 
package com.zt.core.sys.dto;
 
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zt.common.entity.TreeNode;
import lombok.Data;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
 
/**
 * 字典类型
 *
 * @author hehz
 */
@Data
public class DictDto implements TreeNode<DictDto>, Serializable {
    private String dictType;
    private String dictName;
    private List<DictDto> children = new ArrayList<>();
 
    public DictDto(String dictType, String dictName) {
        this.dictType = dictType;
        this.dictName = dictName;
    }
 
    @Override
    @JsonIgnore
    public Long getId() {
        return null;
    }
 
    @Override
    public void setId(Long id) {
 
    }
 
    @Override
    @JsonIgnore
    public Long getPid() {
        return null;
    }
 
    @Override
    public void setPid(Long pid) {
 
    }
}