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 com.qianwen.smartman.common.constant.DateConstant;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/CurrWorkDetailVO.class */
|
public class CurrWorkDetailVO implements Serializable {
|
private static final long serialVersionUID = -4873086552907820732L;
|
@ApiModelProperty("主键id")
|
private Long id;
|
@ApiModelProperty("员工id")
|
private Long employeeId;
|
@ApiModelProperty("员工名称")
|
private String employeeName;
|
@ApiModelProperty("员工编号")
|
private String employeeCode;
|
@ApiModelProperty("工位id")
|
private Long workstationId;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("上线时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date onlineTime;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("下线时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date offlineTime;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("创建时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date createTime;
|
@ApiModelProperty("当前状态是上线还是下线 0-展示状态为上线 1-展示状态状态为下线")
|
private Integer onlineType;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
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 setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setOnlineTime(final Date onlineTime) {
|
this.onlineTime = onlineTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setOfflineTime(final Date offlineTime) {
|
this.offlineTime = offlineTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setCreateTime(final Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public void setOnlineType(final Integer onlineType) {
|
this.onlineType = onlineType;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CurrWorkDetailVO) {
|
CurrWorkDetailVO other = (CurrWorkDetailVO) 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$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$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$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$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$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$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$createTime = getCreateTime();
|
Object other$createTime = other.getCreateTime();
|
return this$createTime == null ? other$createTime == null : this$createTime.equals(other$createTime);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CurrWorkDetailVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $employeeId = getEmployeeId();
|
int result2 = (result * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $onlineType = getOnlineType();
|
int result4 = (result3 * 59) + ($onlineType == null ? 43 : $onlineType.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 $workstationCode = getWorkstationCode();
|
int result7 = (result6 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result8 = (result7 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $onlineTime = getOnlineTime();
|
int result9 = (result8 * 59) + ($onlineTime == null ? 43 : $onlineTime.hashCode());
|
Object $offlineTime = getOfflineTime();
|
int result10 = (result9 * 59) + ($offlineTime == null ? 43 : $offlineTime.hashCode());
|
Object $createTime = getCreateTime();
|
return (result10 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
|
}
|
|
public String toString() {
|
return "CurrWorkDetailVO(id=" + getId() + ", employeeId=" + getEmployeeId() + ", employeeName=" + getEmployeeName() + ", employeeCode=" + getEmployeeCode() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", onlineTime=" + getOnlineTime() + ", offlineTime=" + getOfflineTime() + ", createTime=" + getCreateTime() + ", onlineType=" + getOnlineType() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getEmployeeId() {
|
return this.employeeId;
|
}
|
|
public String getEmployeeName() {
|
return this.employeeName;
|
}
|
|
public String getEmployeeCode() {
|
return this.employeeCode;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Date getOnlineTime() {
|
return this.onlineTime;
|
}
|
|
public Date getOfflineTime() {
|
return this.offlineTime;
|
}
|
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public Integer getOnlineType() {
|
return this.onlineType;
|
}
|
}
|