yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
package com.qianwen.smartman.modules.cps.dto;
 
import java.time.LocalDate;
import java.util.Map;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/TimestampToProductionTimeCacheDto.class */
public class TimestampToProductionTimeCacheDto {
    private String TenantId;
    private String CalendarCode;
    private LocalDate NaturalDay;
    private Map<Integer, CalendarShiftTimeSlicesDTO> timeSlicesDTOMap;
 
    /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/TimestampToProductionTimeCacheDto$TimestampToProductionTimeCacheDtoBuilder.class */
    public static class TimestampToProductionTimeCacheDtoBuilder {
        private String TenantId;
        private String CalendarCode;
        private LocalDate NaturalDay;
        private Map<Integer, CalendarShiftTimeSlicesDTO> timeSlicesDTOMap;
 
        TimestampToProductionTimeCacheDtoBuilder() {
        }
 
        public TimestampToProductionTimeCacheDtoBuilder TenantId(final String TenantId) {
            this.TenantId = TenantId;
            return this;
        }
 
        public TimestampToProductionTimeCacheDtoBuilder CalendarCode(final String CalendarCode) {
            this.CalendarCode = CalendarCode;
            return this;
        }
 
        public TimestampToProductionTimeCacheDtoBuilder NaturalDay(final LocalDate NaturalDay) {
            this.NaturalDay = NaturalDay;
            return this;
        }
 
        public TimestampToProductionTimeCacheDtoBuilder timeSlicesDTOMap(final Map<Integer, CalendarShiftTimeSlicesDTO> timeSlicesDTOMap) {
            this.timeSlicesDTOMap = timeSlicesDTOMap;
            return this;
        }
 
        public TimestampToProductionTimeCacheDto build() {
            return new TimestampToProductionTimeCacheDto(this.TenantId, this.CalendarCode, this.NaturalDay, this.timeSlicesDTOMap);
        }
 
        public String toString() {
            return "TimestampToProductionTimeCacheDto.TimestampToProductionTimeCacheDtoBuilder(TenantId=" + this.TenantId + ", CalendarCode=" + this.CalendarCode + ", NaturalDay=" + this.NaturalDay + ", timeSlicesDTOMap=" + this.timeSlicesDTOMap + ")";
        }
    }
 
    public void setTenantId(final String TenantId) {
        this.TenantId = TenantId;
    }
 
    public void setCalendarCode(final String CalendarCode) {
        this.CalendarCode = CalendarCode;
    }
 
    public void setNaturalDay(final LocalDate NaturalDay) {
        this.NaturalDay = NaturalDay;
    }
 
    public void setTimeSlicesDTOMap(final Map<Integer, CalendarShiftTimeSlicesDTO> timeSlicesDTOMap) {
        this.timeSlicesDTOMap = timeSlicesDTOMap;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TimestampToProductionTimeCacheDto) {
            TimestampToProductionTimeCacheDto other = (TimestampToProductionTimeCacheDto) o;
            if (other.canEqual(this)) {
                Object this$TenantId = getTenantId();
                Object other$TenantId = other.getTenantId();
                if (this$TenantId == null) {
                    if (other$TenantId != null) {
                        return false;
                    }
                } else if (!this$TenantId.equals(other$TenantId)) {
                    return false;
                }
                Object this$CalendarCode = getCalendarCode();
                Object other$CalendarCode = other.getCalendarCode();
                if (this$CalendarCode == null) {
                    if (other$CalendarCode != null) {
                        return false;
                    }
                } else if (!this$CalendarCode.equals(other$CalendarCode)) {
                    return false;
                }
                Object this$NaturalDay = getNaturalDay();
                Object other$NaturalDay = other.getNaturalDay();
                if (this$NaturalDay == null) {
                    if (other$NaturalDay != null) {
                        return false;
                    }
                } else if (!this$NaturalDay.equals(other$NaturalDay)) {
                    return false;
                }
                Object this$timeSlicesDTOMap = getTimeSlicesDTOMap();
                Object other$timeSlicesDTOMap = other.getTimeSlicesDTOMap();
                return this$timeSlicesDTOMap == null ? other$timeSlicesDTOMap == null : this$timeSlicesDTOMap.equals(other$timeSlicesDTOMap);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TimestampToProductionTimeCacheDto;
    }
 
    public int hashCode() {
        Object $TenantId = getTenantId();
        int result = (1 * 59) + ($TenantId == null ? 43 : $TenantId.hashCode());
        Object $CalendarCode = getCalendarCode();
        int result2 = (result * 59) + ($CalendarCode == null ? 43 : $CalendarCode.hashCode());
        Object $NaturalDay = getNaturalDay();
        int result3 = (result2 * 59) + ($NaturalDay == null ? 43 : $NaturalDay.hashCode());
        Object $timeSlicesDTOMap = getTimeSlicesDTOMap();
        return (result3 * 59) + ($timeSlicesDTOMap == null ? 43 : $timeSlicesDTOMap.hashCode());
    }
 
    public String toString() {
        return "TimestampToProductionTimeCacheDto(TenantId=" + getTenantId() + ", CalendarCode=" + getCalendarCode() + ", NaturalDay=" + getNaturalDay() + ", timeSlicesDTOMap=" + getTimeSlicesDTOMap() + ")";
    }
 
    public static TimestampToProductionTimeCacheDtoBuilder builder() {
        return new TimestampToProductionTimeCacheDtoBuilder();
    }
 
    public TimestampToProductionTimeCacheDto() {
    }
 
    public TimestampToProductionTimeCacheDto(final String TenantId, final String CalendarCode, final LocalDate NaturalDay, final Map<Integer, CalendarShiftTimeSlicesDTO> timeSlicesDTOMap) {
        this.TenantId = TenantId;
        this.CalendarCode = CalendarCode;
        this.NaturalDay = NaturalDay;
        this.timeSlicesDTOMap = timeSlicesDTOMap;
    }
 
    public String getTenantId() {
        return this.TenantId;
    }
 
    public String getCalendarCode() {
        return this.CalendarCode;
    }
 
    public LocalDate getNaturalDay() {
        return this.NaturalDay;
    }
 
    public Map<Integer, CalendarShiftTimeSlicesDTO> getTimeSlicesDTOMap() {
        return this.timeSlicesDTOMap;
    }
}