aaa
admin
2025-05-28 b0a1260a566f6c844dd55c67d9587d4753840b0c
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
package tech.aiflowy.ai.entity.base;
 
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
 
import java.math.BigInteger;
 
/**
 * ai机器人二级菜单表
 * @TableName ai_second_menu
 */
public class AiSecondMenuBase {
    /**
     * 二级菜单编号
     */
    @Id(keyType = KeyType.Auto, value = "secondMenuId", comment = "二级菜单编号")
    private BigInteger secondMenuId;
 
    /**
     * 一级菜单编号
     */
    @Column(comment = "一级菜单编号")
    private BigInteger firstMenuId;
 
    /**
     * 二级菜单名称
     */
    @Column(comment = "二级菜单名称")
    private String secondMenuName;
 
    public BigInteger getFirstMenuId() {
        return firstMenuId;
    }
 
    public void setFirstMenuId(BigInteger firstMenuId) {
        this.firstMenuId = firstMenuId;
    }
 
    public BigInteger getSecondMenuId() {
        return secondMenuId;
    }
 
    public void setSecondMenuId(BigInteger secondMenuId) {
        this.secondMenuId = secondMenuId;
    }
 
    /**
     * 二级菜单名称
     */
    public String getSecondMenuName() {
        return secondMenuName;
    }
 
    /**
     * 二级菜单名称
     */
    public void setSecondMenuName(String secondMenuName) {
        this.secondMenuName = secondMenuName;
    }
 
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        AiSecondMenuBase other = (AiSecondMenuBase) that;
        return (this.getSecondMenuId() == null ? other.getSecondMenuId() == null : this.getSecondMenuId().equals(other.getSecondMenuId()))
            && (this.getFirstMenuId() == null ? other.getFirstMenuId() == null : this.getFirstMenuId().equals(other.getFirstMenuId()))
            && (this.getSecondMenuName() == null ? other.getSecondMenuName() == null : this.getSecondMenuName().equals(other.getSecondMenuName()));
    }
 
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSecondMenuId() == null) ? 0 : getSecondMenuId().hashCode());
        result = prime * result + ((getFirstMenuId() == null) ? 0 : getFirstMenuId().hashCode());
        result = prime * result + ((getSecondMenuName() == null) ? 0 : getSecondMenuName().hashCode());
        return result;
    }
 
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", secondMenuId=").append(secondMenuId);
        sb.append(", firstMenuId=").append(firstMenuId);
        sb.append(", secondMenuName=").append(secondMenuName);
        sb.append("]");
        return sb.toString();
    }
}