yangys
2024-03-31 2969df3e404db3cd116f27db1495e523ce05bf86
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
package com.qianwen.smartman.modules.mdc.dto;
 
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/dto/OpenTypeDTO.class */
public class OpenTypeDTO implements Serializable {
    private static final long serialVersionUID = -5070419077538654764L;
    private String type;
    private Integer open;
 
    public void setType(final String type) {
        this.type = type;
    }
 
    public void setOpen(final Integer open) {
        this.open = open;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OpenTypeDTO) {
            OpenTypeDTO other = (OpenTypeDTO) o;
            if (other.canEqual(this)) {
                Object this$open = getOpen();
                Object other$open = other.getOpen();
                if (this$open == null) {
                    if (other$open != null) {
                        return false;
                    }
                } else if (!this$open.equals(other$open)) {
                    return false;
                }
                Object this$type = getType();
                Object other$type = other.getType();
                return this$type == null ? other$type == null : this$type.equals(other$type);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof OpenTypeDTO;
    }
 
    public int hashCode() {
        Object $open = getOpen();
        int result = (1 * 59) + ($open == null ? 43 : $open.hashCode());
        Object $type = getType();
        return (result * 59) + ($type == null ? 43 : $type.hashCode());
    }
 
    public String toString() {
        return "OpenTypeDTO(type=" + getType() + ", open=" + getOpen() + ")";
    }
 
    public String getType() {
        return this.type;
    }
 
    public Integer getOpen() {
        return this.open;
    }
}