package com.qianwen.smartman.modules.mdc.dto; import java.io.Serializable; public class RowRangeDTO implements Serializable { private static final long serialVersionUID = 1867084810076047992L; private Integer start; private Integer end; public void setStart(final Integer start) { this.start = start; } public void setEnd(final Integer end) { this.end = end; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof RowRangeDTO) { RowRangeDTO other = (RowRangeDTO) o; if (other.canEqual(this)) { Object this$start = getStart(); Object other$start = other.getStart(); if (this$start == null) { if (other$start != null) { return false; } } else if (!this$start.equals(other$start)) { return false; } Object this$end = getEnd(); Object other$end = other.getEnd(); return this$end == null ? other$end == null : this$end.equals(other$end); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof RowRangeDTO; } public int hashCode() { Object $start = getStart(); int result = (1 * 59) + ($start == null ? 43 : $start.hashCode()); Object $end = getEnd(); return (result * 59) + ($end == null ? 43 : $end.hashCode()); } public String toString() { return "RowRangeDTO(start=" + getStart() + ", end=" + getEnd() + ")"; } public RowRangeDTO() { } public RowRangeDTO(final Integer start, final Integer end) { this.start = start; this.end = end; } public Integer getStart() { return this.start; } public Integer getEnd() { return this.end; } }