package com.qianwen.smartman.modules.perf.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;
|
import java.util.List;
|
import com.qianwen.smartman.modules.perf.enums.QueryPerfEnum;
|
import com.qianwen.smartman.modules.perf.enums.QueryTimeEnum;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/SearchPerfVO.class */
|
public class SearchPerfVO implements Serializable {
|
private static final long serialVersionUID = 6417099207012157898L;
|
@ApiModelProperty("员工-工位查询方式")
|
private QueryPerfEnum perfEnum;
|
@ApiModelProperty("时间查询方式")
|
private QueryTimeEnum timeEnum;
|
@ApiModelProperty("员工id")
|
private Long employeeId;
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("班次")
|
private Integer shift;
|
@ApiModelProperty("周")
|
private List<Integer> weeks;
|
@ApiModelProperty("月")
|
private List<Integer> months;
|
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@ApiModelProperty("时间")
|
private LocalDate time;
|
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@ApiModelProperty("开始时间")
|
private LocalDate startTime;
|
@JsonSerialize(using = LocalDateSerializer.class)
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
@ApiModelProperty("结束时间")
|
private LocalDate endTime;
|
|
public void setPerfEnum(final QueryPerfEnum perfEnum) {
|
this.perfEnum = perfEnum;
|
}
|
|
public void setTimeEnum(final QueryTimeEnum timeEnum) {
|
this.timeEnum = timeEnum;
|
}
|
|
public void setEmployeeId(final Long employeeId) {
|
this.employeeId = employeeId;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setShift(final Integer shift) {
|
this.shift = shift;
|
}
|
|
public void setWeeks(final List<Integer> weeks) {
|
this.weeks = weeks;
|
}
|
|
public void setMonths(final List<Integer> months) {
|
this.months = months;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public void setTime(final LocalDate time) {
|
this.time = time;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public void setStartTime(final LocalDate startTime) {
|
this.startTime = startTime;
|
}
|
|
@JsonDeserialize(using = LocalDateDeserializer.class)
|
public void setEndTime(final LocalDate endTime) {
|
this.endTime = endTime;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SearchPerfVO) {
|
SearchPerfVO other = (SearchPerfVO) o;
|
if (other.canEqual(this)) {
|
Object this$employeeId = getEmployeeId();
|
Object other$employeeId = other.getEmployeeId();
|
if (this$employeeId == null) {
|
if (other$employeeId != null) {
|
return false;
|
}
|
} else if (!this$employeeId.equals(other$employeeId)) {
|
return false;
|
}
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
Object this$shift = getShift();
|
Object other$shift = other.getShift();
|
if (this$shift == null) {
|
if (other$shift != null) {
|
return false;
|
}
|
} else if (!this$shift.equals(other$shift)) {
|
return false;
|
}
|
Object this$perfEnum = getPerfEnum();
|
Object other$perfEnum = other.getPerfEnum();
|
if (this$perfEnum == null) {
|
if (other$perfEnum != null) {
|
return false;
|
}
|
} else if (!this$perfEnum.equals(other$perfEnum)) {
|
return false;
|
}
|
Object this$timeEnum = getTimeEnum();
|
Object other$timeEnum = other.getTimeEnum();
|
if (this$timeEnum == null) {
|
if (other$timeEnum != null) {
|
return false;
|
}
|
} else if (!this$timeEnum.equals(other$timeEnum)) {
|
return false;
|
}
|
Object this$weeks = getWeeks();
|
Object other$weeks = other.getWeeks();
|
if (this$weeks == null) {
|
if (other$weeks != null) {
|
return false;
|
}
|
} else if (!this$weeks.equals(other$weeks)) {
|
return false;
|
}
|
Object this$months = getMonths();
|
Object other$months = other.getMonths();
|
if (this$months == null) {
|
if (other$months != null) {
|
return false;
|
}
|
} else if (!this$months.equals(other$months)) {
|
return false;
|
}
|
Object this$time = getTime();
|
Object other$time = other.getTime();
|
if (this$time == null) {
|
if (other$time != null) {
|
return false;
|
}
|
} else if (!this$time.equals(other$time)) {
|
return false;
|
}
|
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 SearchPerfVO;
|
}
|
|
public int hashCode() {
|
Object $employeeId = getEmployeeId();
|
int result = (1 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $shift = getShift();
|
int result3 = (result2 * 59) + ($shift == null ? 43 : $shift.hashCode());
|
Object $perfEnum = getPerfEnum();
|
int result4 = (result3 * 59) + ($perfEnum == null ? 43 : $perfEnum.hashCode());
|
Object $timeEnum = getTimeEnum();
|
int result5 = (result4 * 59) + ($timeEnum == null ? 43 : $timeEnum.hashCode());
|
Object $weeks = getWeeks();
|
int result6 = (result5 * 59) + ($weeks == null ? 43 : $weeks.hashCode());
|
Object $months = getMonths();
|
int result7 = (result6 * 59) + ($months == null ? 43 : $months.hashCode());
|
Object $time = getTime();
|
int result8 = (result7 * 59) + ($time == null ? 43 : $time.hashCode());
|
Object $startTime = getStartTime();
|
int result9 = (result8 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
return (result9 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
}
|
|
public String toString() {
|
return "SearchPerfVO(perfEnum=" + getPerfEnum() + ", timeEnum=" + getTimeEnum() + ", employeeId=" + getEmployeeId() + ", workstationId=" + getWorkstationId() + ", shift=" + getShift() + ", weeks=" + getWeeks() + ", months=" + getMonths() + ", time=" + getTime() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ")";
|
}
|
|
public QueryPerfEnum getPerfEnum() {
|
return this.perfEnum;
|
}
|
|
public QueryTimeEnum getTimeEnum() {
|
return this.timeEnum;
|
}
|
|
public Long getEmployeeId() {
|
return this.employeeId;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Integer getShift() {
|
return this.shift;
|
}
|
|
public List<Integer> getWeeks() {
|
return this.weeks;
|
}
|
|
public List<Integer> getMonths() {
|
return this.months;
|
}
|
|
public LocalDate getTime() {
|
return this.time;
|
}
|
|
public LocalDate getStartTime() {
|
return this.startTime;
|
}
|
|
public LocalDate getEndTime() {
|
return this.endTime;
|
}
|
}
|