package com.qianwen.smartman.modules.mdc.dto;
|
|
import java.util.List;
|
|
public class IntervalDateDto {
|
private Integer year;
|
private List<Integer> weekList;
|
private List<Integer> monthList;
|
private List<String> dayList;
|
|
public void setYear(final Integer year) {
|
this.year = year;
|
}
|
|
public void setWeekList(final List<Integer> weekList) {
|
this.weekList = weekList;
|
}
|
|
public void setMonthList(final List<Integer> monthList) {
|
this.monthList = monthList;
|
}
|
|
public void setDayList(final List<String> dayList) {
|
this.dayList = dayList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof IntervalDateDto) {
|
IntervalDateDto other = (IntervalDateDto) o;
|
if (other.canEqual(this)) {
|
Object this$year = getYear();
|
Object other$year = other.getYear();
|
if (this$year == null) {
|
if (other$year != null) {
|
return false;
|
}
|
} else if (!this$year.equals(other$year)) {
|
return false;
|
}
|
Object this$weekList = getWeekList();
|
Object other$weekList = other.getWeekList();
|
if (this$weekList == null) {
|
if (other$weekList != null) {
|
return false;
|
}
|
} else if (!this$weekList.equals(other$weekList)) {
|
return false;
|
}
|
Object this$monthList = getMonthList();
|
Object other$monthList = other.getMonthList();
|
if (this$monthList == null) {
|
if (other$monthList != null) {
|
return false;
|
}
|
} else if (!this$monthList.equals(other$monthList)) {
|
return false;
|
}
|
Object this$dayList = getDayList();
|
Object other$dayList = other.getDayList();
|
return this$dayList == null ? other$dayList == null : this$dayList.equals(other$dayList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof IntervalDateDto;
|
}
|
|
public int hashCode() {
|
Object $year = getYear();
|
int result = (1 * 59) + ($year == null ? 43 : $year.hashCode());
|
Object $weekList = getWeekList();
|
int result2 = (result * 59) + ($weekList == null ? 43 : $weekList.hashCode());
|
Object $monthList = getMonthList();
|
int result3 = (result2 * 59) + ($monthList == null ? 43 : $monthList.hashCode());
|
Object $dayList = getDayList();
|
return (result3 * 59) + ($dayList == null ? 43 : $dayList.hashCode());
|
}
|
|
public String toString() {
|
return "IntervalDateDto(year=" + getYear() + ", weekList=" + getWeekList() + ", monthList=" + getMonthList() + ", dayList=" + getDayList() + ")";
|
}
|
|
public Integer getYear() {
|
return this.year;
|
}
|
|
public List<Integer> getWeekList() {
|
return this.weekList;
|
}
|
|
public List<Integer> getMonthList() {
|
return this.monthList;
|
}
|
|
public List<String> getDayList() {
|
return this.dayList;
|
}
|
}
|