package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotBlank;
|
import com.qianwen.smartman.common.constant.ExcelConstant;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/TrayFaceDTO.class */
|
public class TrayFaceDTO implements Serializable {
|
private static final long serialVersionUID = -3509847452596842033L;
|
@NotBlank(message = ExcelConstant.REQUIRED_FAIL_TEMPLATE)
|
@ApiModelProperty("托盘面名称")
|
private String faceName;
|
@ApiModelProperty("托盘面编号")
|
private String faceCode;
|
@ApiModelProperty("偏移程序编号")
|
private String programCode;
|
|
public void setFaceName(final String faceName) {
|
this.faceName = faceName;
|
}
|
|
public void setFaceCode(final String faceCode) {
|
this.faceCode = faceCode;
|
}
|
|
public void setProgramCode(final String programCode) {
|
this.programCode = programCode;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TrayFaceDTO) {
|
TrayFaceDTO other = (TrayFaceDTO) o;
|
if (other.canEqual(this)) {
|
Object this$faceName = getFaceName();
|
Object other$faceName = other.getFaceName();
|
if (this$faceName == null) {
|
if (other$faceName != null) {
|
return false;
|
}
|
} else if (!this$faceName.equals(other$faceName)) {
|
return false;
|
}
|
Object this$faceCode = getFaceCode();
|
Object other$faceCode = other.getFaceCode();
|
if (this$faceCode == null) {
|
if (other$faceCode != null) {
|
return false;
|
}
|
} else if (!this$faceCode.equals(other$faceCode)) {
|
return false;
|
}
|
Object this$programCode = getProgramCode();
|
Object other$programCode = other.getProgramCode();
|
return this$programCode == null ? other$programCode == null : this$programCode.equals(other$programCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TrayFaceDTO;
|
}
|
|
public int hashCode() {
|
Object $faceName = getFaceName();
|
int result = (1 * 59) + ($faceName == null ? 43 : $faceName.hashCode());
|
Object $faceCode = getFaceCode();
|
int result2 = (result * 59) + ($faceCode == null ? 43 : $faceCode.hashCode());
|
Object $programCode = getProgramCode();
|
return (result2 * 59) + ($programCode == null ? 43 : $programCode.hashCode());
|
}
|
|
public String toString() {
|
return "TrayFaceDTO(faceName=" + getFaceName() + ", faceCode=" + getFaceCode() + ", programCode=" + getProgramCode() + ")";
|
}
|
|
public String getFaceName() {
|
return this.faceName;
|
}
|
|
public String getFaceCode() {
|
return this.faceCode;
|
}
|
|
public String getProgramCode() {
|
return this.programCode;
|
}
|
}
|