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 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 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 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 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 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 getTimeSlicesDTOMap() { return this.timeSlicesDTOMap; } }