package com.qianwen.smartman.modules.perf.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/perf/vo/EmployeeWorkStatusVO.class */
|
public class EmployeeWorkStatusVO implements Serializable {
|
private static final long serialVersionUID = 4972194044292139823L;
|
@ApiModelProperty("记录的id")
|
private Long id;
|
@ApiModelProperty("工位状态 0-未上线 1-要下线")
|
private Integer onType;
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("头像")
|
private String avatar;
|
@ApiModelProperty("已上线员工id")
|
private Long onEmployeeId;
|
@ApiModelProperty("已上线员工编号")
|
private String onEmployeeCode;
|
@ApiModelProperty("已上线员工名称")
|
private String onEmployeeName;
|
@ApiModelProperty("已上线员工头像")
|
private String onEmployeeAvatar;
|
@ApiModelProperty("上线时间")
|
private Date onlineTime;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/EmployeeWorkStatusVO$EmployeeWorkStatusVOBuilder.class */
|
public static class EmployeeWorkStatusVOBuilder {
|
private Long id;
|
private Integer onType;
|
private Long workstationId;
|
private String workstationName;
|
private String workstationCode;
|
private String avatar;
|
private Long onEmployeeId;
|
private String onEmployeeCode;
|
private String onEmployeeName;
|
private String onEmployeeAvatar;
|
private Date onlineTime;
|
|
EmployeeWorkStatusVOBuilder() {
|
}
|
|
public EmployeeWorkStatusVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onType(final Integer onType) {
|
this.onType = onType;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder avatar(final String avatar) {
|
this.avatar = avatar;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onEmployeeId(final Long onEmployeeId) {
|
this.onEmployeeId = onEmployeeId;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onEmployeeCode(final String onEmployeeCode) {
|
this.onEmployeeCode = onEmployeeCode;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onEmployeeName(final String onEmployeeName) {
|
this.onEmployeeName = onEmployeeName;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onEmployeeAvatar(final String onEmployeeAvatar) {
|
this.onEmployeeAvatar = onEmployeeAvatar;
|
return this;
|
}
|
|
public EmployeeWorkStatusVOBuilder onlineTime(final Date onlineTime) {
|
this.onlineTime = onlineTime;
|
return this;
|
}
|
|
public EmployeeWorkStatusVO build() {
|
return new EmployeeWorkStatusVO(this.id, this.onType, this.workstationId, this.workstationName, this.workstationCode, this.avatar, this.onEmployeeId, this.onEmployeeCode, this.onEmployeeName, this.onEmployeeAvatar, this.onlineTime);
|
}
|
|
public String toString() {
|
return "EmployeeWorkStatusVO.EmployeeWorkStatusVOBuilder(id=" + this.id + ", onType=" + this.onType + ", workstationId=" + this.workstationId + ", workstationName=" + this.workstationName + ", workstationCode=" + this.workstationCode + ", avatar=" + this.avatar + ", onEmployeeId=" + this.onEmployeeId + ", onEmployeeCode=" + this.onEmployeeCode + ", onEmployeeName=" + this.onEmployeeName + ", onEmployeeAvatar=" + this.onEmployeeAvatar + ", onlineTime=" + this.onlineTime + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setOnType(final Integer onType) {
|
this.onType = onType;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setOnEmployeeId(final Long onEmployeeId) {
|
this.onEmployeeId = onEmployeeId;
|
}
|
|
public void setOnEmployeeCode(final String onEmployeeCode) {
|
this.onEmployeeCode = onEmployeeCode;
|
}
|
|
public void setOnEmployeeName(final String onEmployeeName) {
|
this.onEmployeeName = onEmployeeName;
|
}
|
|
public void setOnEmployeeAvatar(final String onEmployeeAvatar) {
|
this.onEmployeeAvatar = onEmployeeAvatar;
|
}
|
|
public void setOnlineTime(final Date onlineTime) {
|
this.onlineTime = onlineTime;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof EmployeeWorkStatusVO) {
|
EmployeeWorkStatusVO other = (EmployeeWorkStatusVO) 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$onType = getOnType();
|
Object other$onType = other.getOnType();
|
if (this$onType == null) {
|
if (other$onType != null) {
|
return false;
|
}
|
} else if (!this$onType.equals(other$onType)) {
|
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$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$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$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$avatar = getAvatar();
|
Object other$avatar = other.getAvatar();
|
if (this$avatar == null) {
|
if (other$avatar != null) {
|
return false;
|
}
|
} else if (!this$avatar.equals(other$avatar)) {
|
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$onlineTime = getOnlineTime();
|
Object other$onlineTime = other.getOnlineTime();
|
return this$onlineTime == null ? other$onlineTime == null : this$onlineTime.equals(other$onlineTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof EmployeeWorkStatusVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $onType = getOnType();
|
int result2 = (result * 59) + ($onType == null ? 43 : $onType.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $onEmployeeId = getOnEmployeeId();
|
int result4 = (result3 * 59) + ($onEmployeeId == null ? 43 : $onEmployeeId.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result5 = (result4 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result6 = (result5 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $avatar = getAvatar();
|
int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.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 $onlineTime = getOnlineTime();
|
return (result10 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
|
}
|
|
public String toString() {
|
return "EmployeeWorkStatusVO(id=" + getId() + ", onType=" + getOnType() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", workstationCode=" + getWorkstationCode() + ", avatar=" + getAvatar() + ", onEmployeeId=" + getOnEmployeeId() + ", onEmployeeCode=" + getOnEmployeeCode() + ", onEmployeeName=" + getOnEmployeeName() + ", onEmployeeAvatar=" + getOnEmployeeAvatar() + ", onlineTime=" + getOnlineTime() + ")";
|
}
|
|
public static EmployeeWorkStatusVOBuilder builder() {
|
return new EmployeeWorkStatusVOBuilder();
|
}
|
|
public EmployeeWorkStatusVO() {
|
}
|
|
public EmployeeWorkStatusVO(final Long id, final Integer onType, final Long workstationId, final String workstationName, final String workstationCode, final String avatar, final Long onEmployeeId, final String onEmployeeCode, final String onEmployeeName, final String onEmployeeAvatar, final Date onlineTime) {
|
this.id = id;
|
this.onType = onType;
|
this.workstationId = workstationId;
|
this.workstationName = workstationName;
|
this.workstationCode = workstationCode;
|
this.avatar = avatar;
|
this.onEmployeeId = onEmployeeId;
|
this.onEmployeeCode = onEmployeeCode;
|
this.onEmployeeName = onEmployeeName;
|
this.onEmployeeAvatar = onEmployeeAvatar;
|
this.onlineTime = onlineTime;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Integer getOnType() {
|
return this.onType;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
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 Date getOnlineTime() {
|
return this.onlineTime;
|
}
|
}
|