package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.tenant.mp.TenantEntity; @TableName("blade_device_type_check_project") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/DeviceTypeCheckProject.class */ public class DeviceTypeCheckProject extends TenantEntity { private static final long serialVersionUID = -2204549565730268161L; @ApiModelProperty(name = "deviceTypeId", dataType = "java.lang.String") private Long deviceTypeId; @ApiModelProperty(name = "checkProjectId", dataType = "java.lang.String") private Long checkProjectId; private Integer intervalTime; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/DeviceTypeCheckProject$DeviceTypeCheckProjectBuilder.class */ public static class DeviceTypeCheckProjectBuilder { private Long deviceTypeId; private Long checkProjectId; private Integer intervalTime; DeviceTypeCheckProjectBuilder() { } public DeviceTypeCheckProjectBuilder deviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; return this; } public DeviceTypeCheckProjectBuilder checkProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; return this; } public DeviceTypeCheckProjectBuilder intervalTime(final Integer intervalTime) { this.intervalTime = intervalTime; return this; } public DeviceTypeCheckProject build() { return new DeviceTypeCheckProject(this.deviceTypeId, this.checkProjectId, this.intervalTime); } public String toString() { return "DeviceTypeCheckProject.DeviceTypeCheckProjectBuilder(deviceTypeId=" + this.deviceTypeId + ", checkProjectId=" + this.checkProjectId + ", intervalTime=" + this.intervalTime + ")"; } } public void setDeviceTypeId(final Long deviceTypeId) { this.deviceTypeId = deviceTypeId; } public void setCheckProjectId(final Long checkProjectId) { this.checkProjectId = checkProjectId; } public void setIntervalTime(final Integer intervalTime) { this.intervalTime = intervalTime; } public String toString() { return "DeviceTypeCheckProject(deviceTypeId=" + getDeviceTypeId() + ", checkProjectId=" + getCheckProjectId() + ", intervalTime=" + getIntervalTime() + ")"; } public static DeviceTypeCheckProjectBuilder builder() { return new DeviceTypeCheckProjectBuilder(); } public DeviceTypeCheckProject() { } public DeviceTypeCheckProject(final Long deviceTypeId, final Long checkProjectId, final Integer intervalTime) { this.deviceTypeId = deviceTypeId; this.checkProjectId = checkProjectId; this.intervalTime = intervalTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof DeviceTypeCheckProject) { DeviceTypeCheckProject other = (DeviceTypeCheckProject) o; if (other.canEqual(this) && super.equals(o)) { 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$checkProjectId = getCheckProjectId(); Object other$checkProjectId = other.getCheckProjectId(); if (this$checkProjectId == null) { if (other$checkProjectId != null) { return false; } } else if (!this$checkProjectId.equals(other$checkProjectId)) { return false; } Object this$intervalTime = getIntervalTime(); Object other$intervalTime = other.getIntervalTime(); return this$intervalTime == null ? other$intervalTime == null : this$intervalTime.equals(other$intervalTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof DeviceTypeCheckProject; } public int hashCode() { int result = super.hashCode(); Object $deviceTypeId = getDeviceTypeId(); int result2 = (result * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode()); Object $checkProjectId = getCheckProjectId(); int result3 = (result2 * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode()); Object $intervalTime = getIntervalTime(); return (result3 * 59) + ($intervalTime == null ? 43 : $intervalTime.hashCode()); } public Long getDeviceTypeId() { return this.deviceTypeId; } public Long getCheckProjectId() { return this.checkProjectId; } public Integer getIntervalTime() { return this.intervalTime; } }