package com.qianwen.smartman.modules.perf.entity; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModelProperty; import java.util.Date; import com.qianwen.core.mp.base.BaseEntity; @TableName(EmployeeOnOffWork.TABLE_NAME) /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/entity/EmployeeOnOffWork.class */ public class EmployeeOnOffWork extends BaseEntity { private static final long serialVersionUID = -741292962424663588L; public static final String TABLE_NAME = "blade_employee_on_off_work"; @ApiModelProperty("上线时间") private Date onlineTime; @ApiModelProperty("上线员工id") private Long onEmployeeId; @ApiModelProperty("上线员工编号") private String onEmployeeCode; @ApiModelProperty("上线员工名称") private String onEmployeeName; @ApiModelProperty("上线员工头像") private String onEmployeeAvatar; @ApiModelProperty("工位id") private Long workstationId; @ApiModelProperty("工位编号") private String workstationCode; @ApiModelProperty("工位名称") private String workstationName; @ApiModelProperty("工位头像") private String workstationAvatar; @ApiModelProperty("下线时间") private Date offlineTime; @ApiModelProperty("下线员工id") private Long offEmployeeId; @ApiModelProperty("下线员工编号") private String offEmployeeCode; @ApiModelProperty("下线员工名称") private String offEmployeeName; @ApiModelProperty("下线员工头像") private String offEmployeeAvatar; @ApiModelProperty("上下线类型 0-上线 1-下线") private Integer onlineType; @ApiModelProperty("按时间/班次上下线 0-时间 1-班次") private Integer timeType; public EmployeeOnOffWork setOnlineTime(final Date onlineTime) { this.onlineTime = onlineTime; return this; } public EmployeeOnOffWork setOnEmployeeId(final Long onEmployeeId) { this.onEmployeeId = onEmployeeId; return this; } public EmployeeOnOffWork setOnEmployeeCode(final String onEmployeeCode) { this.onEmployeeCode = onEmployeeCode; return this; } public EmployeeOnOffWork setOnEmployeeName(final String onEmployeeName) { this.onEmployeeName = onEmployeeName; return this; } public EmployeeOnOffWork setOnEmployeeAvatar(final String onEmployeeAvatar) { this.onEmployeeAvatar = onEmployeeAvatar; return this; } public EmployeeOnOffWork setWorkstationId(final Long workstationId) { this.workstationId = workstationId; return this; } public EmployeeOnOffWork setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; return this; } public EmployeeOnOffWork setWorkstationName(final String workstationName) { this.workstationName = workstationName; return this; } public EmployeeOnOffWork setWorkstationAvatar(final String workstationAvatar) { this.workstationAvatar = workstationAvatar; return this; } public EmployeeOnOffWork setOfflineTime(final Date offlineTime) { this.offlineTime = offlineTime; return this; } public EmployeeOnOffWork setOffEmployeeId(final Long offEmployeeId) { this.offEmployeeId = offEmployeeId; return this; } public EmployeeOnOffWork setOffEmployeeCode(final String offEmployeeCode) { this.offEmployeeCode = offEmployeeCode; return this; } public EmployeeOnOffWork setOffEmployeeName(final String offEmployeeName) { this.offEmployeeName = offEmployeeName; return this; } public EmployeeOnOffWork setOffEmployeeAvatar(final String offEmployeeAvatar) { this.offEmployeeAvatar = offEmployeeAvatar; return this; } public EmployeeOnOffWork setOnlineType(final Integer onlineType) { this.onlineType = onlineType; return this; } public EmployeeOnOffWork setTimeType(final Integer timeType) { this.timeType = timeType; return this; } public String toString() { return "EmployeeOnOffWork(onlineTime=" + getOnlineTime() + ", onEmployeeId=" + getOnEmployeeId() + ", onEmployeeCode=" + getOnEmployeeCode() + ", onEmployeeName=" + getOnEmployeeName() + ", onEmployeeAvatar=" + getOnEmployeeAvatar() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationAvatar=" + getWorkstationAvatar() + ", offlineTime=" + getOfflineTime() + ", offEmployeeId=" + getOffEmployeeId() + ", offEmployeeCode=" + getOffEmployeeCode() + ", offEmployeeName=" + getOffEmployeeName() + ", offEmployeeAvatar=" + getOffEmployeeAvatar() + ", onlineType=" + getOnlineType() + ", timeType=" + getTimeType() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof EmployeeOnOffWork) { EmployeeOnOffWork other = (EmployeeOnOffWork) o; if (other.canEqual(this) && super.equals(o)) { Object this$onEmployeeId = getOnEmployeeId(); Object other$onEmployeeId = other.getOnEmployeeId(); if (this$onEmployeeId == null) { if (other$onEmployeeId != null) { return false; } } else if (!this$onEmployeeId.equals(other$onEmployeeId)) { 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$offEmployeeId = getOffEmployeeId(); Object other$offEmployeeId = other.getOffEmployeeId(); if (this$offEmployeeId == null) { if (other$offEmployeeId != null) { return false; } } else if (!this$offEmployeeId.equals(other$offEmployeeId)) { return false; } Object this$onlineType = getOnlineType(); Object other$onlineType = other.getOnlineType(); if (this$onlineType == null) { if (other$onlineType != null) { return false; } } else if (!this$onlineType.equals(other$onlineType)) { return false; } Object this$timeType = getTimeType(); Object other$timeType = other.getTimeType(); if (this$timeType == null) { if (other$timeType != null) { return false; } } else if (!this$timeType.equals(other$timeType)) { return false; } Object this$onlineTime = getOnlineTime(); Object other$onlineTime = other.getOnlineTime(); if (this$onlineTime == null) { if (other$onlineTime != null) { return false; } } else if (!this$onlineTime.equals(other$onlineTime)) { return false; } Object this$onEmployeeCode = getOnEmployeeCode(); Object other$onEmployeeCode = other.getOnEmployeeCode(); if (this$onEmployeeCode == null) { if (other$onEmployeeCode != null) { return false; } } else if (!this$onEmployeeCode.equals(other$onEmployeeCode)) { return false; } Object this$onEmployeeName = getOnEmployeeName(); Object other$onEmployeeName = other.getOnEmployeeName(); if (this$onEmployeeName == null) { if (other$onEmployeeName != null) { return false; } } else if (!this$onEmployeeName.equals(other$onEmployeeName)) { return false; } Object this$onEmployeeAvatar = getOnEmployeeAvatar(); Object other$onEmployeeAvatar = other.getOnEmployeeAvatar(); if (this$onEmployeeAvatar == null) { if (other$onEmployeeAvatar != null) { return false; } } else if (!this$onEmployeeAvatar.equals(other$onEmployeeAvatar)) { return false; } Object this$workstationCode = getWorkstationCode(); Object other$workstationCode = other.getWorkstationCode(); if (this$workstationCode == null) { if (other$workstationCode != null) { return false; } } else if (!this$workstationCode.equals(other$workstationCode)) { return false; } Object this$workstationName = getWorkstationName(); Object other$workstationName = other.getWorkstationName(); if (this$workstationName == null) { if (other$workstationName != null) { return false; } } else if (!this$workstationName.equals(other$workstationName)) { return false; } Object this$workstationAvatar = getWorkstationAvatar(); Object other$workstationAvatar = other.getWorkstationAvatar(); if (this$workstationAvatar == null) { if (other$workstationAvatar != null) { return false; } } else if (!this$workstationAvatar.equals(other$workstationAvatar)) { return false; } Object this$offlineTime = getOfflineTime(); Object other$offlineTime = other.getOfflineTime(); if (this$offlineTime == null) { if (other$offlineTime != null) { return false; } } else if (!this$offlineTime.equals(other$offlineTime)) { return false; } Object this$offEmployeeCode = getOffEmployeeCode(); Object other$offEmployeeCode = other.getOffEmployeeCode(); if (this$offEmployeeCode == null) { if (other$offEmployeeCode != null) { return false; } } else if (!this$offEmployeeCode.equals(other$offEmployeeCode)) { return false; } Object this$offEmployeeName = getOffEmployeeName(); Object other$offEmployeeName = other.getOffEmployeeName(); if (this$offEmployeeName == null) { if (other$offEmployeeName != null) { return false; } } else if (!this$offEmployeeName.equals(other$offEmployeeName)) { return false; } Object this$offEmployeeAvatar = getOffEmployeeAvatar(); Object other$offEmployeeAvatar = other.getOffEmployeeAvatar(); return this$offEmployeeAvatar == null ? other$offEmployeeAvatar == null : this$offEmployeeAvatar.equals(other$offEmployeeAvatar); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof EmployeeOnOffWork; } public int hashCode() { int result = super.hashCode(); Object $onEmployeeId = getOnEmployeeId(); int result2 = (result * 59) + ($onEmployeeId == null ? 43 : $onEmployeeId.hashCode()); Object $workstationId = getWorkstationId(); int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $offEmployeeId = getOffEmployeeId(); int result4 = (result3 * 59) + ($offEmployeeId == null ? 43 : $offEmployeeId.hashCode()); Object $onlineType = getOnlineType(); int result5 = (result4 * 59) + ($onlineType == null ? 43 : $onlineType.hashCode()); Object $timeType = getTimeType(); int result6 = (result5 * 59) + ($timeType == null ? 43 : $timeType.hashCode()); Object $onlineTime = getOnlineTime(); int result7 = (result6 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode()); Object $onEmployeeCode = getOnEmployeeCode(); int result8 = (result7 * 59) + ($onEmployeeCode == null ? 43 : $onEmployeeCode.hashCode()); Object $onEmployeeName = getOnEmployeeName(); int result9 = (result8 * 59) + ($onEmployeeName == null ? 43 : $onEmployeeName.hashCode()); Object $onEmployeeAvatar = getOnEmployeeAvatar(); int result10 = (result9 * 59) + ($onEmployeeAvatar == null ? 43 : $onEmployeeAvatar.hashCode()); Object $workstationCode = getWorkstationCode(); int result11 = (result10 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $workstationName = getWorkstationName(); int result12 = (result11 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $workstationAvatar = getWorkstationAvatar(); int result13 = (result12 * 59) + ($workstationAvatar == null ? 43 : $workstationAvatar.hashCode()); Object $offlineTime = getOfflineTime(); int result14 = (result13 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode()); Object $offEmployeeCode = getOffEmployeeCode(); int result15 = (result14 * 59) + ($offEmployeeCode == null ? 43 : $offEmployeeCode.hashCode()); Object $offEmployeeName = getOffEmployeeName(); int result16 = (result15 * 59) + ($offEmployeeName == null ? 43 : $offEmployeeName.hashCode()); Object $offEmployeeAvatar = getOffEmployeeAvatar(); return (result16 * 59) + ($offEmployeeAvatar == null ? 43 : $offEmployeeAvatar.hashCode()); } public Date getOnlineTime() { return this.onlineTime; } public Long getOnEmployeeId() { return this.onEmployeeId; } public String getOnEmployeeCode() { return this.onEmployeeCode; } public String getOnEmployeeName() { return this.onEmployeeName; } public String getOnEmployeeAvatar() { return this.onEmployeeAvatar; } public Long getWorkstationId() { return this.workstationId; } public String getWorkstationCode() { return this.workstationCode; } public String getWorkstationName() { return this.workstationName; } public String getWorkstationAvatar() { return this.workstationAvatar; } public Date getOfflineTime() { return this.offlineTime; } public Long getOffEmployeeId() { return this.offEmployeeId; } public String getOffEmployeeCode() { return this.offEmployeeCode; } public String getOffEmployeeName() { return this.offEmployeeName; } public String getOffEmployeeAvatar() { return this.offEmployeeAvatar; } public Integer getOnlineType() { return this.onlineType; } public Integer getTimeType() { return this.timeType; } }