yangys
2024-04-13 0a583efe2ddead0cdd37fd83deff43d43745a05f
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
package com.qianwen.smartman.modules.andon.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.qianwen.core.mp.base.BaseEntity;
 
@ApiModel(value = "DeviceAndonType对象", description = "机器类型安灯类型关联表")
@TableName("blade_device_andon_type")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/andon/entity/DeviceAndonType.class */
public class DeviceAndonType extends BaseEntity {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("安灯类型id")
    private Long andonTypeId;
    @ApiModelProperty("机器类型id")
    private Long deviceTypeId;
 
    public DeviceAndonType setAndonTypeId(final Long andonTypeId) {
        this.andonTypeId = andonTypeId;
        return this;
    }
 
    public DeviceAndonType setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public String toString() {
        return "DeviceAndonType(andonTypeId=" + getAndonTypeId() + ", deviceTypeId=" + getDeviceTypeId() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof DeviceAndonType) {
            DeviceAndonType other = (DeviceAndonType) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$andonTypeId = getAndonTypeId();
                Object other$andonTypeId = other.getAndonTypeId();
                if (this$andonTypeId == null) {
                    if (other$andonTypeId != null) {
                        return false;
                    }
                } else if (!this$andonTypeId.equals(other$andonTypeId)) {
                    return false;
                }
                Object this$deviceTypeId = getDeviceTypeId();
                Object other$deviceTypeId = other.getDeviceTypeId();
                return this$deviceTypeId == null ? other$deviceTypeId == null : this$deviceTypeId.equals(other$deviceTypeId);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof DeviceAndonType;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $andonTypeId = getAndonTypeId();
        int result2 = (result * 59) + ($andonTypeId == null ? 43 : $andonTypeId.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        return (result2 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
    }
 
    public Long getAndonTypeId() {
        return this.andonTypeId;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
}