package com.skyline.electricity.pojo; public class Model { private String gltf; private int scale; private boolean runAnimations; private boolean show; private int minimumPixelSize; public String getGltf() { return this.gltf; } public int getScale() { return this.scale; } public boolean isRunAnimations() { return this.runAnimations; } public boolean isShow() { return this.show; } public int getMinimumPixelSize() { return this.minimumPixelSize; } public void setGltf(final String gltf) { this.gltf = gltf; } public void setScale(final int scale) { this.scale = scale; } public void setRunAnimations(final boolean runAnimations) { this.runAnimations = runAnimations; } public void setShow(final boolean show) { this.show = show; } public void setMinimumPixelSize(final int minimumPixelSize) { this.minimumPixelSize = minimumPixelSize; } @Override public boolean equals(final Object o) { if (o == this) { return true; } if (!(o instanceof Model)) { return false; } final Model other = (Model)o; if (!other.canEqual(this)) { return false; } final Object this$gltf = this.getGltf(); final Object other$gltf = other.getGltf(); if (this$gltf == null) { if (other$gltf == null) { return this.getScale() == other.getScale() && this.isRunAnimations() == other.isRunAnimations() && this.isShow() == other.isShow() && this.getMinimumPixelSize() == other.getMinimumPixelSize(); } } else if (this$gltf.equals(other$gltf)) { return this.getScale() == other.getScale() && this.isRunAnimations() == other.isRunAnimations() && this.isShow() == other.isShow() && this.getMinimumPixelSize() == other.getMinimumPixelSize(); } return false; } protected boolean canEqual(final Object other) { return other instanceof Model; } @Override public int hashCode() { final int PRIME = 59; int result = 1; final Object $gltf = this.getGltf(); result = result * 59 + (($gltf == null) ? 43 : $gltf.hashCode()); result = result * 59 + this.getScale(); result = result * 59 + (this.isRunAnimations() ? 79 : 97); result = result * 59 + (this.isShow() ? 79 : 97); result = result * 59 + this.getMinimumPixelSize(); return result; } @Override public String toString() { return "Model(gltf=" + this.getGltf() + ", scale=" + this.getScale() + ", runAnimations=" + this.isRunAnimations() + ", show=" + this.isShow() + ", minimumPixelSize=" + this.getMinimumPixelSize() + ")"; } }