package com.qianwen.smartman.modules.notify.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiParam;
|
import java.util.Date;
|
import java.util.List;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/vo/NoticeSelectVO.class */
|
public class NoticeSelectVO {
|
String category;
|
@ApiParam(hidden = true)
|
List<Integer> categoryIds;
|
String keyWord;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
Date startDate;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
Date endDate;
|
|
public void setCategory(final String category) {
|
this.category = category;
|
}
|
|
public void setCategoryIds(final List<Integer> categoryIds) {
|
this.categoryIds = categoryIds;
|
}
|
|
public void setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setStartDate(final Date startDate) {
|
this.startDate = startDate;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setEndDate(final Date endDate) {
|
this.endDate = endDate;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NoticeSelectVO) {
|
NoticeSelectVO other = (NoticeSelectVO) o;
|
if (other.canEqual(this)) {
|
Object this$category = getCategory();
|
Object other$category = other.getCategory();
|
if (this$category == null) {
|
if (other$category != null) {
|
return false;
|
}
|
} else if (!this$category.equals(other$category)) {
|
return false;
|
}
|
Object this$categoryIds = getCategoryIds();
|
Object other$categoryIds = other.getCategoryIds();
|
if (this$categoryIds == null) {
|
if (other$categoryIds != null) {
|
return false;
|
}
|
} else if (!this$categoryIds.equals(other$categoryIds)) {
|
return false;
|
}
|
Object this$keyWord = getKeyWord();
|
Object other$keyWord = other.getKeyWord();
|
if (this$keyWord == null) {
|
if (other$keyWord != null) {
|
return false;
|
}
|
} else if (!this$keyWord.equals(other$keyWord)) {
|
return false;
|
}
|
Object this$startDate = getStartDate();
|
Object other$startDate = other.getStartDate();
|
if (this$startDate == null) {
|
if (other$startDate != null) {
|
return false;
|
}
|
} else if (!this$startDate.equals(other$startDate)) {
|
return false;
|
}
|
Object this$endDate = getEndDate();
|
Object other$endDate = other.getEndDate();
|
return this$endDate == null ? other$endDate == null : this$endDate.equals(other$endDate);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NoticeSelectVO;
|
}
|
|
public int hashCode() {
|
Object $category = getCategory();
|
int result = (1 * 59) + ($category == null ? 43 : $category.hashCode());
|
Object $categoryIds = getCategoryIds();
|
int result2 = (result * 59) + ($categoryIds == null ? 43 : $categoryIds.hashCode());
|
Object $keyWord = getKeyWord();
|
int result3 = (result2 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
Object $startDate = getStartDate();
|
int result4 = (result3 * 59) + ($startDate == null ? 43 : $startDate.hashCode());
|
Object $endDate = getEndDate();
|
return (result4 * 59) + ($endDate == null ? 43 : $endDate.hashCode());
|
}
|
|
public String toString() {
|
return "NoticeSelectVO(category=" + getCategory() + ", categoryIds=" + getCategoryIds() + ", keyWord=" + getKeyWord() + ", startDate=" + getStartDate() + ", endDate=" + getEndDate() + ")";
|
}
|
|
public String getCategory() {
|
return this.category;
|
}
|
|
public List<Integer> getCategoryIds() {
|
return this.categoryIds;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
|
public Date getStartDate() {
|
return this.startDate;
|
}
|
|
public Date getEndDate() {
|
return this.endDate;
|
}
|
}
|