//
|
// Source code recreated from a .class file by IntelliJ IDEA
|
// (powered by FernFlower decompiler)
|
//
|
|
package org.jeecg.modules.doc.vo;
|
|
public class ThumbImage {
|
private int width;
|
private int height;
|
|
public ThumbImage() {
|
}
|
|
public ThumbImage(int width, int height) {
|
this.width = width;
|
this.height = height;
|
}
|
|
public int getWidth() {
|
return this.width;
|
}
|
|
public int getHeight() {
|
return this.height;
|
}
|
|
public void setWidth(final int width) {
|
this.width = width;
|
}
|
|
public void setHeight(final int height) {
|
this.height = height;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
} else if (!(o instanceof ThumbImage)) {
|
return false;
|
} else {
|
ThumbImage other = (ThumbImage)o;
|
if (!other.canEqual(this)) {
|
return false;
|
} else if (this.getWidth() != other.getWidth()) {
|
return false;
|
} else {
|
return this.getHeight() == other.getHeight();
|
}
|
}
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ThumbImage;
|
}
|
|
public int hashCode() {
|
int result = 1;
|
result = result * 59 + this.getWidth();
|
result = result * 59 + this.getHeight();
|
return result;
|
}
|
|
public String toString() {
|
return "ThumbImage(width=" + this.getWidth() + ", height=" + this.getHeight() + ")";
|
}
|
}
|