yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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
package com.qianwen.smartman.modules.tpm.vo;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/RepairRecordLookVO.class */
public class RepairRecordLookVO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("设备类型id")
    private Long deviceTypeId;
    @ApiModelProperty("维修状态")
    private Integer recordStatus;
    @ApiModelProperty("关键词,维修单号,申请单号,设备编码,设备名称模糊匹配")
    private String keyWords;
 
    public RepairRecordLookVO setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public RepairRecordLookVO setRecordStatus(final Integer recordStatus) {
        this.recordStatus = recordStatus;
        return this;
    }
 
    public RepairRecordLookVO setKeyWords(final String keyWords) {
        this.keyWords = keyWords;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RepairRecordLookVO) {
            RepairRecordLookVO other = (RepairRecordLookVO) o;
            if (other.canEqual(this)) {
                Object this$deviceTypeId = getDeviceTypeId();
                Object other$deviceTypeId = other.getDeviceTypeId();
                if (this$deviceTypeId == null) {
                    if (other$deviceTypeId != null) {
                        return false;
                    }
                } else if (!this$deviceTypeId.equals(other$deviceTypeId)) {
                    return false;
                }
                Object this$recordStatus = getRecordStatus();
                Object other$recordStatus = other.getRecordStatus();
                if (this$recordStatus == null) {
                    if (other$recordStatus != null) {
                        return false;
                    }
                } else if (!this$recordStatus.equals(other$recordStatus)) {
                    return false;
                }
                Object this$keyWords = getKeyWords();
                Object other$keyWords = other.getKeyWords();
                return this$keyWords == null ? other$keyWords == null : this$keyWords.equals(other$keyWords);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof RepairRecordLookVO;
    }
 
    public int hashCode() {
        Object $deviceTypeId = getDeviceTypeId();
        int result = (1 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $recordStatus = getRecordStatus();
        int result2 = (result * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
        Object $keyWords = getKeyWords();
        return (result2 * 59) + ($keyWords == null ? 43 : $keyWords.hashCode());
    }
 
    public String toString() {
        return "RepairRecordLookVO(deviceTypeId=" + getDeviceTypeId() + ", recordStatus=" + getRecordStatus() + ", keyWords=" + getKeyWords() + ")";
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public Integer getRecordStatus() {
        return this.recordStatus;
    }
 
    public String getKeyWords() {
        return this.keyWords;
    }
}