package com.qianwen.smartman.modules.mdc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/ShiftTimeVO.class */
|
public class ShiftTimeVO implements Serializable {
|
private static final long serialVersionUID = -830368567007317270L;
|
@ApiModelProperty("开始时间")
|
private Date startTime;
|
@ApiModelProperty("结束时间")
|
private Date endTime;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/vo/ShiftTimeVO$ShiftTimeVOBuilder.class */
|
public static class ShiftTimeVOBuilder {
|
private Date startTime;
|
private Date endTime;
|
|
ShiftTimeVOBuilder() {
|
}
|
|
public ShiftTimeVOBuilder startTime(final Date startTime) {
|
this.startTime = startTime;
|
return this;
|
}
|
|
public ShiftTimeVOBuilder endTime(final Date endTime) {
|
this.endTime = endTime;
|
return this;
|
}
|
|
public ShiftTimeVO build() {
|
return new ShiftTimeVO(this.startTime, this.endTime);
|
}
|
|
public String toString() {
|
return "ShiftTimeVO.ShiftTimeVOBuilder(startTime=" + this.startTime + ", endTime=" + this.endTime + ")";
|
}
|
}
|
|
public void setStartTime(final Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(final Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ShiftTimeVO) {
|
ShiftTimeVO other = (ShiftTimeVO) o;
|
if (other.canEqual(this)) {
|
Object this$startTime = getStartTime();
|
Object other$startTime = other.getStartTime();
|
if (this$startTime == null) {
|
if (other$startTime != null) {
|
return false;
|
}
|
} else if (!this$startTime.equals(other$startTime)) {
|
return false;
|
}
|
Object this$endTime = getEndTime();
|
Object other$endTime = other.getEndTime();
|
return this$endTime == null ? other$endTime == null : this$endTime.equals(other$endTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ShiftTimeVO;
|
}
|
|
public int hashCode() {
|
Object $startTime = getStartTime();
|
int result = (1 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
return (result * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
}
|
|
public String toString() {
|
return "ShiftTimeVO(startTime=" + getStartTime() + ", endTime=" + getEndTime() + ")";
|
}
|
|
public static ShiftTimeVOBuilder builder() {
|
return new ShiftTimeVOBuilder();
|
}
|
|
public ShiftTimeVO() {
|
}
|
|
public ShiftTimeVO(final Date startTime, final Date endTime) {
|
this.startTime = startTime;
|
this.endTime = endTime;
|
}
|
|
public Date getStartTime() {
|
return this.startTime;
|
}
|
|
public Date getEndTime() {
|
return this.endTime;
|
}
|
}
|