package com.qianwen.smartman.modules.perf.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; import java.util.List; import com.qianwen.smartman.common.constant.DateConstant; import com.qianwen.smartman.modules.perf.dto.WorkstationBO; import org.springframework.format.annotation.DateTimeFormat; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/BatchOnWorkVO.class */ public class BatchOnWorkVO implements Serializable { private static final long serialVersionUID = 8646838652401654928L; @ApiModelProperty("工位信息") private List works; @DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME) @ApiModelProperty("上线/下线时间") @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) private Date time; @ApiModelProperty("员工id") private Long employeeId; @ApiModelProperty("员工名称") private String employeeName; @ApiModelProperty("员工编号") private String employeeCode; @ApiModelProperty("员工头像") private String employeeAvatar; @ApiModelProperty("上下线类型 0-要上线 1-要下线") private Integer type; public void setWorks(final List works) { this.works = works; } @JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME) public void setTime(final Date time) { this.time = time; } public void setEmployeeId(final Long employeeId) { this.employeeId = employeeId; } public void setEmployeeName(final String employeeName) { this.employeeName = employeeName; } public void setEmployeeCode(final String employeeCode) { this.employeeCode = employeeCode; } public void setEmployeeAvatar(final String employeeAvatar) { this.employeeAvatar = employeeAvatar; } public void setType(final Integer type) { this.type = type; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof BatchOnWorkVO) { BatchOnWorkVO other = (BatchOnWorkVO) 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$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$works = getWorks(); Object other$works = other.getWorks(); if (this$works == null) { if (other$works != null) { return false; } } else if (!this$works.equals(other$works)) { 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$employeeName = getEmployeeName(); Object other$employeeName = other.getEmployeeName(); if (this$employeeName == null) { if (other$employeeName != null) { return false; } } else if (!this$employeeName.equals(other$employeeName)) { return false; } Object this$employeeCode = getEmployeeCode(); Object other$employeeCode = other.getEmployeeCode(); if (this$employeeCode == null) { if (other$employeeCode != null) { return false; } } else if (!this$employeeCode.equals(other$employeeCode)) { return false; } Object this$employeeAvatar = getEmployeeAvatar(); Object other$employeeAvatar = other.getEmployeeAvatar(); return this$employeeAvatar == null ? other$employeeAvatar == null : this$employeeAvatar.equals(other$employeeAvatar); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof BatchOnWorkVO; } public int hashCode() { Object $employeeId = getEmployeeId(); int result = (1 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode()); Object $type = getType(); int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode()); Object $works = getWorks(); int result3 = (result2 * 59) + ($works == null ? 43 : $works.hashCode()); Object $time = getTime(); int result4 = (result3 * 59) + ($time == null ? 43 : $time.hashCode()); Object $employeeName = getEmployeeName(); int result5 = (result4 * 59) + ($employeeName == null ? 43 : $employeeName.hashCode()); Object $employeeCode = getEmployeeCode(); int result6 = (result5 * 59) + ($employeeCode == null ? 43 : $employeeCode.hashCode()); Object $employeeAvatar = getEmployeeAvatar(); return (result6 * 59) + ($employeeAvatar == null ? 43 : $employeeAvatar.hashCode()); } public String toString() { return "BatchOnWorkVO(works=" + getWorks() + ", time=" + getTime() + ", employeeId=" + getEmployeeId() + ", employeeName=" + getEmployeeName() + ", employeeCode=" + getEmployeeCode() + ", employeeAvatar=" + getEmployeeAvatar() + ", type=" + getType() + ")"; } public List getWorks() { return this.works; } public Date getTime() { return this.time; } public Long getEmployeeId() { return this.employeeId; } public String getEmployeeName() { return this.employeeName; } public String getEmployeeCode() { return this.employeeCode; } public String getEmployeeAvatar() { return this.employeeAvatar; } public Integer getType() { return this.type; } }