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
package com.landtool.lanbase.modules.spcData.entity;
 
 
import java.io.Serializable;
import java.util.Objects;
//专题数据-元数据表
public class SpcMetadata implements Serializable {
 
    private static final long serialVersionUID = 1L;
    //id
    private Integer id;
    //元数据
    private String metadata;
    //菜单id
    private Integer menuId;
    
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public SpcMetadata(Integer id, String metadata) {
        this.id = id;
        this.metadata = metadata;
    }
 
    public SpcMetadata() {
    }
 
    public String getMetadata() {
        return metadata;
    }
 
    public void setMetadata(String metadata) {
        this.metadata = metadata;
    }
 
    public Integer getMenuId() {
        return menuId;
    }
 
    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((id == null) ? 0 : id.hashCode());
        result = prime * result + ((menuId == null) ? 0 : menuId.hashCode());
        result = prime * result + ((metadata == null) ? 0 : metadata.hashCode());
        return result;
    }
 
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        SpcMetadata other = (SpcMetadata) obj;
        if (id == null) {
            if (other.id != null)
                return false;
        } else if (!id.equals(other.id))
            return false;
        if (menuId == null) {
            if (other.menuId != null)
                return false;
        } else if (!menuId.equals(other.menuId))
            return false;
        if (metadata == null) {
            if (other.metadata != null)
                return false;
        } else if (!metadata.equals(other.metadata))
            return false;
        return true;
    }
 
    @Override
    public String toString() {
        return "SpcMetadata [id=" + id + ", metadata=" + metadata + ", menuId=" + menuId + "]";
    }
 
    
    
    
}