/* * Decompiled with CFR 0.152. */ package com.jby.officecore.domain.bo; import java.io.InputStream; import java.io.Serializable; public class ImageBO implements Serializable { private static final long serialVersionUID = 6640950035295880234L; private InputStream is; private Double width; private Double height; private Integer pictureType; private String pictureUrl; public InputStream getIs() { return this.is; } public Double getWidth() { return this.width; } public Double getHeight() { return this.height; } public Integer getPictureType() { return this.pictureType; } public String getPictureUrl() { return this.pictureUrl; } public ImageBO setIs(InputStream is) { this.is = is; return this; } public ImageBO setWidth(Double width) { this.width = width; return this; } public ImageBO setHeight(Double height) { this.height = height; return this; } public ImageBO setPictureType(Integer pictureType) { this.pictureType = pictureType; return this; } public ImageBO setPictureUrl(String pictureUrl) { this.pictureUrl = pictureUrl; return this; } public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof ImageBO)) { return false; } ImageBO other = (ImageBO)o; if (!other.canEqual(this)) { return false; } InputStream this$is = this.getIs(); InputStream other$is = other.getIs(); if (this$is == null ? other$is != null : !this$is.equals(other$is)) { return false; } Double this$width = this.getWidth(); Double other$width = other.getWidth(); if (this$width == null ? other$width != null : !((Object)this$width).equals(other$width)) { return false; } Double this$height = this.getHeight(); Double other$height = other.getHeight(); if (this$height == null ? other$height != null : !((Object)this$height).equals(other$height)) { return false; } Integer this$pictureType = this.getPictureType(); Integer other$pictureType = other.getPictureType(); if (this$pictureType == null ? other$pictureType != null : !((Object)this$pictureType).equals(other$pictureType)) { return false; } String this$pictureUrl = this.getPictureUrl(); String other$pictureUrl = other.getPictureUrl(); return !(this$pictureUrl == null ? other$pictureUrl != null : !this$pictureUrl.equals(other$pictureUrl)); } protected boolean canEqual(Object other) { return other instanceof ImageBO; } public int hashCode() { int PRIME = 59; int result = 1; InputStream $is = this.getIs(); result = result * 59 + ($is == null ? 43 : $is.hashCode()); Double $width = this.getWidth(); result = result * 59 + ($width == null ? 43 : ((Object)$width).hashCode()); Double $height = this.getHeight(); result = result * 59 + ($height == null ? 43 : ((Object)$height).hashCode()); Integer $pictureType = this.getPictureType(); result = result * 59 + ($pictureType == null ? 43 : ((Object)$pictureType).hashCode()); String $pictureUrl = this.getPictureUrl(); result = result * 59 + ($pictureUrl == null ? 43 : $pictureUrl.hashCode()); return result; } public String toString() { return "ImageBO(is=" + this.getIs() + ", width=" + this.getWidth() + ", height=" + this.getHeight() + ", pictureType=" + this.getPictureType() + ", pictureUrl=" + this.getPictureUrl() + ")"; } }