3
13693261870
2022-09-16 63ba114e70e380442fcbed4a5157ee52c9491216
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
package com.landtool.lanbase.modules.spcData.entity;
 
import java.io.Serializable;
import java.util.Objects;
//专题数据-菜单表
public class SpcDataMenu implements Serializable {
 
    private static final long serialVersionUID = 1L;
    //id
    private Integer id;
    //父id
    private Integer pId;
    //菜单名称
    private String name;
    //元数据id
    private Integer metadataId;
    //表名称
    private String tableName;
    //类型
    private Integer type;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
  
    public Integer getpId() {
        return pId;
    }
 
    public void setpId(Integer pId) {
        this.pId = pId;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public Integer getMetadataId() {
        return metadataId;
    }
 
    public void setMetadataId(Integer metadataId) {
        this.metadataId = metadataId;
    }
 
    public String getTableName() {
        return tableName;
    }
 
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
 
    public Integer getType() {
        return type;
    }
 
    public void setType(Integer type) {
        this.type = type;
    }
 
    public SpcDataMenu() {
    }
 
 
    public SpcDataMenu(Integer id, Integer pId, String name, Integer metadataId, String tableName, Integer type) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.metadataId = metadataId;
        this.tableName = tableName;
        this.type = type;
    }
 
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SpcDataMenu that = (SpcDataMenu) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(pId, that.pId) &&
                Objects.equals(name, that.name) &&
                Objects.equals(metadataId, that.metadataId) &&
                Objects.equals(tableName, that.tableName) &&
                Objects.equals(type, that.type);
    }
 
    @Override
    public int hashCode() {
        return Objects.hash(id, pId, name, metadataId, tableName, type);
    }
 
    @Override
    public String toString() {
        return "SpcDataMenu{" +
                "id=" + id +
                ", pId=" + pId +
                ", name='" + name + '\'' +
                ", metadataId=" + metadataId +
                ", tableName='" + tableName + '\'' +
                ", type=" + type +
                '}';
    }
}