package com.qianwen.smartman.modules.mdc.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateDeserializer;
|
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.time.LocalDate;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/ColumnInfoVO.class */
|
public class ColumnInfoVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(value = "id", dataType = "java.lang.String")
|
private String id;
|
@ApiModelProperty("显示标题")
|
private String title;
|
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@ApiModelProperty("开始日期")
|
private LocalDate startDate;
|
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@ApiModelProperty("结束日期")
|
private LocalDate endDate;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/ColumnInfoVO$ColumnInfoVOBuilder.class */
|
public static class ColumnInfoVOBuilder {
|
private String id;
|
private String title;
|
private LocalDate startDate;
|
private LocalDate endDate;
|
|
ColumnInfoVOBuilder() {
|
}
|
|
public ColumnInfoVOBuilder id(final String id) {
|
this.id = id;
|
return this;
|
}
|
|
public ColumnInfoVOBuilder title(final String title) {
|
this.title = title;
|
return this;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public ColumnInfoVOBuilder startDate(final LocalDate startDate) {
|
this.startDate = startDate;
|
return this;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public ColumnInfoVOBuilder endDate(final LocalDate endDate) {
|
this.endDate = endDate;
|
return this;
|
}
|
|
public ColumnInfoVO build() {
|
return new ColumnInfoVO(this.id, this.title, this.startDate, this.endDate);
|
}
|
|
public String toString() {
|
return "ColumnInfoVO.ColumnInfoVOBuilder(id=" + this.id + ", title=" + this.title + ", startDate=" + this.startDate + ", endDate=" + this.endDate + ")";
|
}
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setTitle(final String title) {
|
this.title = title;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public void setStartDate(final LocalDate startDate) {
|
this.startDate = startDate;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public void setEndDate(final LocalDate endDate) {
|
this.endDate = endDate;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ColumnInfoVO) {
|
ColumnInfoVO other = (ColumnInfoVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$title = getTitle();
|
Object other$title = other.getTitle();
|
if (this$title == null) {
|
if (other$title != null) {
|
return false;
|
}
|
} else if (!this$title.equals(other$title)) {
|
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 ColumnInfoVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $title = getTitle();
|
int result2 = (result * 59) + ($title == null ? 43 : $title.hashCode());
|
Object $startDate = getStartDate();
|
int result3 = (result2 * 59) + ($startDate == null ? 43 : $startDate.hashCode());
|
Object $endDate = getEndDate();
|
return (result3 * 59) + ($endDate == null ? 43 : $endDate.hashCode());
|
}
|
|
public String toString() {
|
return "ColumnInfoVO(id=" + getId() + ", title=" + getTitle() + ", startDate=" + getStartDate() + ", endDate=" + getEndDate() + ")";
|
}
|
|
public static ColumnInfoVOBuilder builder() {
|
return new ColumnInfoVOBuilder();
|
}
|
|
public ColumnInfoVO() {
|
}
|
|
public ColumnInfoVO(final String id, final String title, final LocalDate startDate, final LocalDate endDate) {
|
this.id = id;
|
this.title = title;
|
this.startDate = startDate;
|
this.endDate = endDate;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public LocalDate getStartDate() {
|
return this.startDate;
|
}
|
|
public LocalDate getEndDate() {
|
return this.endDate;
|
}
|
}
|