package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderProcessStartWorkstationVO.class */
|
public class OrderProcessStartWorkstationVO implements Serializable {
|
private static final long serialVersionUID = -3507215463180356995L;
|
@NotNull(message = "工位ID不能为空")
|
@ApiModelProperty("工位ID")
|
private Long workstationId;
|
@NotBlank(message = "工位编码不能为空")
|
@ApiModelProperty("工位编码")
|
private String workstationCode;
|
@NotBlank(message = "工位名称不能为空")
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@NotNull(message = "开工人员ID不能为空")
|
@ApiModelProperty("开工人员ID")
|
private Long producerId;
|
@NotBlank(message = "开工人员编码不能为空")
|
@ApiModelProperty("开工人员编码")
|
private String producerCode;
|
@NotBlank(message = "开工人员名称不能为空")
|
@ApiModelProperty("开工人员名称")
|
private String producerName;
|
|
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;
|
}
|
|
public void setProducerId(final Long producerId) {
|
this.producerId = producerId;
|
}
|
|
public void setProducerCode(final String producerCode) {
|
this.producerCode = producerCode;
|
}
|
|
public void setProducerName(final String producerName) {
|
this.producerName = producerName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderProcessStartWorkstationVO) {
|
OrderProcessStartWorkstationVO other = (OrderProcessStartWorkstationVO) o;
|
if (other.canEqual(this)) {
|
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$producerId = getProducerId();
|
Object other$producerId = other.getProducerId();
|
if (this$producerId == null) {
|
if (other$producerId != null) {
|
return false;
|
}
|
} else if (!this$producerId.equals(other$producerId)) {
|
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$producerCode = getProducerCode();
|
Object other$producerCode = other.getProducerCode();
|
if (this$producerCode == null) {
|
if (other$producerCode != null) {
|
return false;
|
}
|
} else if (!this$producerCode.equals(other$producerCode)) {
|
return false;
|
}
|
Object this$producerName = getProducerName();
|
Object other$producerName = other.getProducerName();
|
return this$producerName == null ? other$producerName == null : this$producerName.equals(other$producerName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderProcessStartWorkstationVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $producerId = getProducerId();
|
int result2 = (result * 59) + ($producerId == null ? 43 : $producerId.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result3 = (result2 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result4 = (result3 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $producerCode = getProducerCode();
|
int result5 = (result4 * 59) + ($producerCode == null ? 43 : $producerCode.hashCode());
|
Object $producerName = getProducerName();
|
return (result5 * 59) + ($producerName == null ? 43 : $producerName.hashCode());
|
}
|
|
public String toString() {
|
return "OrderProcessStartWorkstationVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", producerId=" + getProducerId() + ", producerCode=" + getProducerCode() + ", producerName=" + getProducerName() + ")";
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Long getProducerId() {
|
return this.producerId;
|
}
|
|
public String getProducerCode() {
|
return this.producerCode;
|
}
|
|
public String getProducerName() {
|
return this.producerName;
|
}
|
}
|