package com.qianwen.smartman.modules.coproduction.dto;
|
|
import cn.hutool.core.util.IdUtil;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/dto/PlanProcessInfoDTO.class */
|
public class PlanProcessInfoDTO extends BaseEntity {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("租户id")
|
private Long tenantId;
|
@ApiModelProperty("计划类型名称")
|
private String typeName;
|
@ApiModelProperty("描述")
|
private String description;
|
@ApiModelProperty("所属计划id")
|
private Long planId;
|
@ApiModelProperty("源工序id")
|
private Long processId;
|
@ApiModelProperty("工序顺序")
|
private Integer sort;
|
@ApiModelProperty("工序编号")
|
private String code;
|
@ApiModelProperty("工序名称")
|
private String name;
|
@ApiModelProperty("程序id")
|
private Long programId;
|
@ApiModelProperty("程序名称")
|
private String programName;
|
@ApiModelProperty("标准工时")
|
private Integer standardTime;
|
@ApiModelProperty("多工位id,用逗号隔开")
|
private String workstationId;
|
@ApiModelProperty("多工位id,用逗号隔开")
|
private String workstationName;
|
@ApiModelProperty("工艺包id")
|
private Long artBagId;
|
@ApiModelProperty("工艺包名称")
|
private String artBagName;
|
@ApiModelProperty("准备工时")
|
private Integer prepareTime;
|
@ApiModelProperty("拆卸工时")
|
private Integer disassemblyTime;
|
@ApiModelProperty("运输工时")
|
private Integer transportTime;
|
@ApiModelProperty("是否质检 默认 0否 1是")
|
private Integer whetherTest;
|
@ApiModelProperty("是否并行 默认 0否 1是")
|
private Integer whetherParallel;
|
@ApiModelProperty("工序派发状态 默认 0未派发 1已派发")
|
private Integer assignStatus;
|
@ApiModelProperty("主序id(当主序id不为空时,代表工序是子序)")
|
private Long mainSequenceId;
|
@ApiModelProperty("工艺工序id")
|
private Long craftProcessId;
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof PlanProcessInfoDTO) {
|
PlanProcessInfoDTO other = (PlanProcessInfoDTO) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$planId = getPlanId();
|
Object other$planId = other.getPlanId();
|
if (this$planId == null) {
|
if (other$planId != null) {
|
return false;
|
}
|
} else if (!this$planId.equals(other$planId)) {
|
return false;
|
}
|
Object this$processId = getProcessId();
|
Object other$processId = other.getProcessId();
|
if (this$processId == null) {
|
if (other$processId != null) {
|
return false;
|
}
|
} else if (!this$processId.equals(other$processId)) {
|
return false;
|
}
|
Object this$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
return false;
|
}
|
Object this$programId = getProgramId();
|
Object other$programId = other.getProgramId();
|
if (this$programId == null) {
|
if (other$programId != null) {
|
return false;
|
}
|
} else if (!this$programId.equals(other$programId)) {
|
return false;
|
}
|
Object this$standardTime = getStandardTime();
|
Object other$standardTime = other.getStandardTime();
|
if (this$standardTime == null) {
|
if (other$standardTime != null) {
|
return false;
|
}
|
} else if (!this$standardTime.equals(other$standardTime)) {
|
return false;
|
}
|
Object this$artBagId = getArtBagId();
|
Object other$artBagId = other.getArtBagId();
|
if (this$artBagId == null) {
|
if (other$artBagId != null) {
|
return false;
|
}
|
} else if (!this$artBagId.equals(other$artBagId)) {
|
return false;
|
}
|
Object this$prepareTime = getPrepareTime();
|
Object other$prepareTime = other.getPrepareTime();
|
if (this$prepareTime == null) {
|
if (other$prepareTime != null) {
|
return false;
|
}
|
} else if (!this$prepareTime.equals(other$prepareTime)) {
|
return false;
|
}
|
Object this$disassemblyTime = getDisassemblyTime();
|
Object other$disassemblyTime = other.getDisassemblyTime();
|
if (this$disassemblyTime == null) {
|
if (other$disassemblyTime != null) {
|
return false;
|
}
|
} else if (!this$disassemblyTime.equals(other$disassemblyTime)) {
|
return false;
|
}
|
Object this$transportTime = getTransportTime();
|
Object other$transportTime = other.getTransportTime();
|
if (this$transportTime == null) {
|
if (other$transportTime != null) {
|
return false;
|
}
|
} else if (!this$transportTime.equals(other$transportTime)) {
|
return false;
|
}
|
Object this$whetherTest = getWhetherTest();
|
Object other$whetherTest = other.getWhetherTest();
|
if (this$whetherTest == null) {
|
if (other$whetherTest != null) {
|
return false;
|
}
|
} else if (!this$whetherTest.equals(other$whetherTest)) {
|
return false;
|
}
|
Object this$whetherParallel = getWhetherParallel();
|
Object other$whetherParallel = other.getWhetherParallel();
|
if (this$whetherParallel == null) {
|
if (other$whetherParallel != null) {
|
return false;
|
}
|
} else if (!this$whetherParallel.equals(other$whetherParallel)) {
|
return false;
|
}
|
Object this$assignStatus = getAssignStatus();
|
Object other$assignStatus = other.getAssignStatus();
|
if (this$assignStatus == null) {
|
if (other$assignStatus != null) {
|
return false;
|
}
|
} else if (!this$assignStatus.equals(other$assignStatus)) {
|
return false;
|
}
|
Object this$mainSequenceId = getMainSequenceId();
|
Object other$mainSequenceId = other.getMainSequenceId();
|
if (this$mainSequenceId == null) {
|
if (other$mainSequenceId != null) {
|
return false;
|
}
|
} else if (!this$mainSequenceId.equals(other$mainSequenceId)) {
|
return false;
|
}
|
Object this$craftProcessId = getCraftProcessId();
|
Object other$craftProcessId = other.getCraftProcessId();
|
if (this$craftProcessId == null) {
|
if (other$craftProcessId != null) {
|
return false;
|
}
|
} else if (!this$craftProcessId.equals(other$craftProcessId)) {
|
return false;
|
}
|
Object this$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
if (this$description == null) {
|
if (other$description != null) {
|
return false;
|
}
|
} else if (!this$description.equals(other$description)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$programName = getProgramName();
|
Object other$programName = other.getProgramName();
|
if (this$programName == null) {
|
if (other$programName != null) {
|
return false;
|
}
|
} else if (!this$programName.equals(other$programName)) {
|
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$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$artBagName = getArtBagName();
|
Object other$artBagName = other.getArtBagName();
|
return this$artBagName == null ? other$artBagName == null : this$artBagName.equals(other$artBagName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof PlanProcessInfoDTO;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $tenantId = getTenantId();
|
int result2 = (result * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $planId = getPlanId();
|
int result3 = (result2 * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $processId = getProcessId();
|
int result4 = (result3 * 59) + ($processId == null ? 43 : $processId.hashCode());
|
Object $sort = getSort();
|
int result5 = (result4 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $programId = getProgramId();
|
int result6 = (result5 * 59) + ($programId == null ? 43 : $programId.hashCode());
|
Object $standardTime = getStandardTime();
|
int result7 = (result6 * 59) + ($standardTime == null ? 43 : $standardTime.hashCode());
|
Object $artBagId = getArtBagId();
|
int result8 = (result7 * 59) + ($artBagId == null ? 43 : $artBagId.hashCode());
|
Object $prepareTime = getPrepareTime();
|
int result9 = (result8 * 59) + ($prepareTime == null ? 43 : $prepareTime.hashCode());
|
Object $disassemblyTime = getDisassemblyTime();
|
int result10 = (result9 * 59) + ($disassemblyTime == null ? 43 : $disassemblyTime.hashCode());
|
Object $transportTime = getTransportTime();
|
int result11 = (result10 * 59) + ($transportTime == null ? 43 : $transportTime.hashCode());
|
Object $whetherTest = getWhetherTest();
|
int result12 = (result11 * 59) + ($whetherTest == null ? 43 : $whetherTest.hashCode());
|
Object $whetherParallel = getWhetherParallel();
|
int result13 = (result12 * 59) + ($whetherParallel == null ? 43 : $whetherParallel.hashCode());
|
Object $assignStatus = getAssignStatus();
|
int result14 = (result13 * 59) + ($assignStatus == null ? 43 : $assignStatus.hashCode());
|
Object $mainSequenceId = getMainSequenceId();
|
int result15 = (result14 * 59) + ($mainSequenceId == null ? 43 : $mainSequenceId.hashCode());
|
Object $craftProcessId = getCraftProcessId();
|
int result16 = (result15 * 59) + ($craftProcessId == null ? 43 : $craftProcessId.hashCode());
|
Object $typeName = getTypeName();
|
int result17 = (result16 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $description = getDescription();
|
int result18 = (result17 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $code = getCode();
|
int result19 = (result18 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result20 = (result19 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $programName = getProgramName();
|
int result21 = (result20 * 59) + ($programName == null ? 43 : $programName.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result22 = (result21 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result23 = (result22 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $artBagName = getArtBagName();
|
return (result23 * 59) + ($artBagName == null ? 43 : $artBagName.hashCode());
|
}
|
|
public void setTenantId(final Long tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public void setPlanId(final Long planId) {
|
this.planId = planId;
|
}
|
|
public void setProcessId(final Long processId) {
|
this.processId = processId;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setProgramId(final Long programId) {
|
this.programId = programId;
|
}
|
|
public void setProgramName(final String programName) {
|
this.programName = programName;
|
}
|
|
public void setStandardTime(final Integer standardTime) {
|
this.standardTime = standardTime;
|
}
|
|
public void setWorkstationId(final String workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setArtBagId(final Long artBagId) {
|
this.artBagId = artBagId;
|
}
|
|
public void setArtBagName(final String artBagName) {
|
this.artBagName = artBagName;
|
}
|
|
public void setPrepareTime(final Integer prepareTime) {
|
this.prepareTime = prepareTime;
|
}
|
|
public void setDisassemblyTime(final Integer disassemblyTime) {
|
this.disassemblyTime = disassemblyTime;
|
}
|
|
public void setTransportTime(final Integer transportTime) {
|
this.transportTime = transportTime;
|
}
|
|
public void setWhetherTest(final Integer whetherTest) {
|
this.whetherTest = whetherTest;
|
}
|
|
public void setWhetherParallel(final Integer whetherParallel) {
|
this.whetherParallel = whetherParallel;
|
}
|
|
public void setAssignStatus(final Integer assignStatus) {
|
this.assignStatus = assignStatus;
|
}
|
|
public void setMainSequenceId(final Long mainSequenceId) {
|
this.mainSequenceId = mainSequenceId;
|
}
|
|
public void setCraftProcessId(final Long craftProcessId) {
|
this.craftProcessId = craftProcessId;
|
}
|
|
public String toString() {
|
return "PlanProcessInfoDTO(tenantId=" + getTenantId() + ", typeName=" + getTypeName() + ", description=" + getDescription() + ", planId=" + getPlanId() + ", processId=" + getProcessId() + ", sort=" + getSort() + ", code=" + getCode() + ", name=" + getName() + ", programId=" + getProgramId() + ", programName=" + getProgramName() + ", standardTime=" + getStandardTime() + ", workstationId=" + getWorkstationId() + ", workstationName=" + getWorkstationName() + ", artBagId=" + getArtBagId() + ", artBagName=" + getArtBagName() + ", prepareTime=" + getPrepareTime() + ", disassemblyTime=" + getDisassemblyTime() + ", transportTime=" + getTransportTime() + ", whetherTest=" + getWhetherTest() + ", whetherParallel=" + getWhetherParallel() + ", assignStatus=" + getAssignStatus() + ", mainSequenceId=" + getMainSequenceId() + ", craftProcessId=" + getCraftProcessId() + ")";
|
}
|
|
public PlanProcessInfoDTO() {
|
super.setId(Long.valueOf(IdUtil.getSnowflake((long) serialVersionUID, (long) serialVersionUID).nextId()));
|
}
|
|
public Long getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public Long getPlanId() {
|
return this.planId;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Long getProgramId() {
|
return this.programId;
|
}
|
|
public String getProgramName() {
|
return this.programName;
|
}
|
|
public Integer getStandardTime() {
|
return this.standardTime;
|
}
|
|
public String getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Long getArtBagId() {
|
return this.artBagId;
|
}
|
|
public String getArtBagName() {
|
return this.artBagName;
|
}
|
|
public Integer getPrepareTime() {
|
return this.prepareTime;
|
}
|
|
public Integer getDisassemblyTime() {
|
return this.disassemblyTime;
|
}
|
|
public Integer getTransportTime() {
|
return this.transportTime;
|
}
|
|
public Integer getWhetherTest() {
|
return this.whetherTest;
|
}
|
|
public Integer getWhetherParallel() {
|
return this.whetherParallel;
|
}
|
|
public Integer getAssignStatus() {
|
return this.assignStatus;
|
}
|
|
public Long getMainSequenceId() {
|
return this.mainSequenceId;
|
}
|
|
public Long getCraftProcessId() {
|
return this.craftProcessId;
|
}
|
}
|