对比新文件 |
| | |
| | | // |
| | | // Source code recreated from a .class file by IntelliJ IDEA |
| | | // (powered by FernFlower decompiler) |
| | | // |
| | | |
| | | package com.flow.util; |
| | | |
| | | public class pageresult<T> extends result<T> { |
| | | private Long count; |
| | | |
| | | public pageresult(Long count, String msg, T data) { |
| | | super(msg, data); |
| | | this.count = count; |
| | | } |
| | | |
| | | public pageresult(Long count, T data) { |
| | | super(data); |
| | | this.count = count; |
| | | } |
| | | |
| | | public Long getCount() { |
| | | return this.count; |
| | | } |
| | | |
| | | public void setCount(Long count) { |
| | | this.count = count; |
| | | } |
| | | |
| | | public boolean equals(Object o) { |
| | | if (o == this) { |
| | | return true; |
| | | } else if (!(o instanceof pageresult)) { |
| | | return false; |
| | | } else { |
| | | pageresult<?> other = (pageresult)o; |
| | | if (!other.canEqual(this)) { |
| | | return false; |
| | | } else { |
| | | Object this$count = this.getCount(); |
| | | Object other$count = other.getCount(); |
| | | if (this$count == null) { |
| | | if (other$count != null) { |
| | | return false; |
| | | } |
| | | } else if (!this$count.equals(other$count)) { |
| | | return false; |
| | | } |
| | | |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | |
| | | protected boolean canEqual(Object other) { |
| | | return other instanceof pageresult; |
| | | } |
| | | |
| | | public int hashCode() { |
| | | int result = 1; |
| | | Object $count = this.getCount(); |
| | | result = result * 59 + ($count == null ? 43 : $count.hashCode()); |
| | | return result; |
| | | } |
| | | |
| | | public String toString() { |
| | | return "pageresult(count=" + this.getCount() + ")"; |
| | | } |
| | | |
| | | public pageresult() { |
| | | } |
| | | } |