package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.Date;
|
import java.util.List;
|
import com.qianwen.smartman.modules.coproduction.dto.PlanProcessDTO;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/PlanAppendVO.class */
|
public class PlanAppendVO {
|
@ApiModelProperty("计划id")
|
private Long planId;
|
@ApiModelProperty("数量")
|
private Integer num;
|
@ApiModelProperty("计划编号")
|
private String planCode;
|
@ApiModelProperty("计划开始时间")
|
private Date planStartTime;
|
@ApiModelProperty("计划结束时间")
|
private Date planEndTime;
|
@ApiModelProperty("计划工序")
|
private List<PlanProcessDTO> planProcess;
|
|
public void setPlanId(final Long planId) {
|
this.planId = planId;
|
}
|
|
public void setNum(final Integer num) {
|
this.num = num;
|
}
|
|
public void setPlanCode(final String planCode) {
|
this.planCode = planCode;
|
}
|
|
public void setPlanStartTime(final Date planStartTime) {
|
this.planStartTime = planStartTime;
|
}
|
|
public void setPlanEndTime(final Date planEndTime) {
|
this.planEndTime = planEndTime;
|
}
|
|
public void setPlanProcess(final List<PlanProcessDTO> planProcess) {
|
this.planProcess = planProcess;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof PlanAppendVO) {
|
PlanAppendVO other = (PlanAppendVO) o;
|
if (other.canEqual(this)) {
|
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$num = getNum();
|
Object other$num = other.getNum();
|
if (this$num == null) {
|
if (other$num != null) {
|
return false;
|
}
|
} else if (!this$num.equals(other$num)) {
|
return false;
|
}
|
Object this$planCode = getPlanCode();
|
Object other$planCode = other.getPlanCode();
|
if (this$planCode == null) {
|
if (other$planCode != null) {
|
return false;
|
}
|
} else if (!this$planCode.equals(other$planCode)) {
|
return false;
|
}
|
Object this$planStartTime = getPlanStartTime();
|
Object other$planStartTime = other.getPlanStartTime();
|
if (this$planStartTime == null) {
|
if (other$planStartTime != null) {
|
return false;
|
}
|
} else if (!this$planStartTime.equals(other$planStartTime)) {
|
return false;
|
}
|
Object this$planEndTime = getPlanEndTime();
|
Object other$planEndTime = other.getPlanEndTime();
|
if (this$planEndTime == null) {
|
if (other$planEndTime != null) {
|
return false;
|
}
|
} else if (!this$planEndTime.equals(other$planEndTime)) {
|
return false;
|
}
|
Object this$planProcess = getPlanProcess();
|
Object other$planProcess = other.getPlanProcess();
|
return this$planProcess == null ? other$planProcess == null : this$planProcess.equals(other$planProcess);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof PlanAppendVO;
|
}
|
|
public int hashCode() {
|
Object $planId = getPlanId();
|
int result = (1 * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $num = getNum();
|
int result2 = (result * 59) + ($num == null ? 43 : $num.hashCode());
|
Object $planCode = getPlanCode();
|
int result3 = (result2 * 59) + ($planCode == null ? 43 : $planCode.hashCode());
|
Object $planStartTime = getPlanStartTime();
|
int result4 = (result3 * 59) + ($planStartTime == null ? 43 : $planStartTime.hashCode());
|
Object $planEndTime = getPlanEndTime();
|
int result5 = (result4 * 59) + ($planEndTime == null ? 43 : $planEndTime.hashCode());
|
Object $planProcess = getPlanProcess();
|
return (result5 * 59) + ($planProcess == null ? 43 : $planProcess.hashCode());
|
}
|
|
public String toString() {
|
return "PlanAppendVO(planId=" + getPlanId() + ", num=" + getNum() + ", planCode=" + getPlanCode() + ", planStartTime=" + getPlanStartTime() + ", planEndTime=" + getPlanEndTime() + ", planProcess=" + getPlanProcess() + ")";
|
}
|
|
public Long getPlanId() {
|
return this.planId;
|
}
|
|
public Integer getNum() {
|
return this.num;
|
}
|
|
public String getPlanCode() {
|
return this.planCode;
|
}
|
|
public Date getPlanStartTime() {
|
return this.planStartTime;
|
}
|
|
public Date getPlanEndTime() {
|
return this.planEndTime;
|
}
|
|
public List<PlanProcessDTO> getPlanProcess() {
|
return this.planProcess;
|
}
|
}
|