826220679@qq.com
2025-08-07 4d6cd980c5c69e4d9d150669c89734642297e0cd
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
package targets;
public class MessageType {
    private int id;
    private String typeCode;
    private String typeName;
    private String addTime;
 
    // Getter Methods
    public int getId() {
        return id;
    }
 
    public String getTypeCode() {
        return typeCode;
    }
 
    public String getTypeName() {
        return typeName;
    }
 
    public String getAddTime() {
        return addTime;
    }
 
    // Setter Methods
    public void setId(int id) {
        this.id = id;
    }
 
    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }
 
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
 
    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }
 
    // toString Method for Printing Object Information
    @Override
    public String toString() {
        return "MessageType{" +
                "id=" + id +
                ", typeCode='" + typeCode + '\'' +
                ", typeName='" + typeName + '\'' +
                ", addTime='" + addTime + '\'' +
                '}';
    }
}