yangys
2025-11-21 e8ed1a91c77ab62a924f12acd55777f227bacd7e
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
package com.qianwen.smartman.modules.tpm.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Map;
 
 
public class RepairRecordSearchDTO implements Serializable {
    @ApiModelProperty("是否高级筛选")
    private Boolean filterPlus;
    @ApiModelProperty("查询条件字典")
    private Map<String, Object> param;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("设备类型id")
    private Long deviceTypeId;
    @ApiModelProperty("维修状态")
    private Integer recordStatus;
    @ApiModelProperty("关键词,维修单号,申请单号,设备编码,设备名称模糊匹配")
    private String keyWords;
 
    public RepairRecordSearchDTO setFilterPlus(final Boolean filterPlus) {
        this.filterPlus = filterPlus;
        return this;
    }
 
    public RepairRecordSearchDTO setParam(final Map<String, Object> param) {
        this.param = param;
        return this;
    }
 
    public RepairRecordSearchDTO setDeviceTypeId(final Long deviceTypeId) {
        this.deviceTypeId = deviceTypeId;
        return this;
    }
 
    public RepairRecordSearchDTO setRecordStatus(final Integer recordStatus) {
        this.recordStatus = recordStatus;
        return this;
    }
 
    public RepairRecordSearchDTO setKeyWords(final String keyWords) {
        this.keyWords = keyWords;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof RepairRecordSearchDTO) {
            RepairRecordSearchDTO other = (RepairRecordSearchDTO) o;
            if (other.canEqual(this)) {
                Object this$filterPlus = getFilterPlus();
                Object other$filterPlus = other.getFilterPlus();
                if (this$filterPlus == null) {
                    if (other$filterPlus != null) {
                        return false;
                    }
                } else if (!this$filterPlus.equals(other$filterPlus)) {
                    return false;
                }
                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$param = getParam();
                Object other$param = other.getParam();
                if (this$param == null) {
                    if (other$param != null) {
                        return false;
                    }
                } else if (!this$param.equals(other$param)) {
                    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 RepairRecordSearchDTO;
    }
 
    public int hashCode() {
        Object $filterPlus = getFilterPlus();
        int result = (1 * 59) + ($filterPlus == null ? 43 : $filterPlus.hashCode());
        Object $deviceTypeId = getDeviceTypeId();
        int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
        Object $recordStatus = getRecordStatus();
        int result3 = (result2 * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
        Object $param = getParam();
        int result4 = (result3 * 59) + ($param == null ? 43 : $param.hashCode());
        Object $keyWords = getKeyWords();
        return (result4 * 59) + ($keyWords == null ? 43 : $keyWords.hashCode());
    }
 
    public String toString() {
        return "RepairRecordSearchDTO(filterPlus=" + getFilterPlus() + ", param=" + getParam() + ", deviceTypeId=" + getDeviceTypeId() + ", recordStatus=" + getRecordStatus() + ", keyWords=" + getKeyWords() + ")";
    }
 
    public Boolean getFilterPlus() {
        return this.filterPlus;
    }
 
    public Map<String, Object> getParam() {
        return this.param;
    }
 
    public Long getDeviceTypeId() {
        return this.deviceTypeId;
    }
 
    public Integer getRecordStatus() {
        return this.recordStatus;
    }
 
    public String getKeyWords() {
        return this.keyWords;
    }
}