package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "TraySurfaceVo对象", description = "托盘托盘面")
|
public class TraySurfaceInfoVO implements Serializable {
|
private static final long serialVersionUID = -9125662292744177811L;
|
@ApiModelProperty(value = "主键ID", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty(value = "托盘面id", dataType = "java.lang.String")
|
private Long surfaceId;
|
@ApiModelProperty(value = "托盘id", dataType = "java.lang.String")
|
private Long trayId;
|
@ApiModelProperty("托盘名称")
|
private String trayName;
|
@ApiModelProperty("托盘面名称")
|
private String surfaceName;
|
@ApiModelProperty("托盘编号")
|
private String trayCode;
|
@ApiModelProperty("托盘面编号")
|
private String surfaceCode;
|
|
public TraySurfaceInfoVO setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setSurfaceId(final Long surfaceId) {
|
this.surfaceId = surfaceId;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setTrayId(final Long trayId) {
|
this.trayId = trayId;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setTrayName(final String trayName) {
|
this.trayName = trayName;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setSurfaceName(final String surfaceName) {
|
this.surfaceName = surfaceName;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setTrayCode(final String trayCode) {
|
this.trayCode = trayCode;
|
return this;
|
}
|
|
public TraySurfaceInfoVO setSurfaceCode(final String surfaceCode) {
|
this.surfaceCode = surfaceCode;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraySurfaceInfoVO) {
|
TraySurfaceInfoVO other = (TraySurfaceInfoVO) 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$surfaceId = getSurfaceId();
|
Object other$surfaceId = other.getSurfaceId();
|
if (this$surfaceId == null) {
|
if (other$surfaceId != null) {
|
return false;
|
}
|
} else if (!this$surfaceId.equals(other$surfaceId)) {
|
return false;
|
}
|
Object this$trayId = getTrayId();
|
Object other$trayId = other.getTrayId();
|
if (this$trayId == null) {
|
if (other$trayId != null) {
|
return false;
|
}
|
} else if (!this$trayId.equals(other$trayId)) {
|
return false;
|
}
|
Object this$trayName = getTrayName();
|
Object other$trayName = other.getTrayName();
|
if (this$trayName == null) {
|
if (other$trayName != null) {
|
return false;
|
}
|
} else if (!this$trayName.equals(other$trayName)) {
|
return false;
|
}
|
Object this$surfaceName = getSurfaceName();
|
Object other$surfaceName = other.getSurfaceName();
|
if (this$surfaceName == null) {
|
if (other$surfaceName != null) {
|
return false;
|
}
|
} else if (!this$surfaceName.equals(other$surfaceName)) {
|
return false;
|
}
|
Object this$trayCode = getTrayCode();
|
Object other$trayCode = other.getTrayCode();
|
if (this$trayCode == null) {
|
if (other$trayCode != null) {
|
return false;
|
}
|
} else if (!this$trayCode.equals(other$trayCode)) {
|
return false;
|
}
|
Object this$surfaceCode = getSurfaceCode();
|
Object other$surfaceCode = other.getSurfaceCode();
|
return this$surfaceCode == null ? other$surfaceCode == null : this$surfaceCode.equals(other$surfaceCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraySurfaceInfoVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $surfaceId = getSurfaceId();
|
int result2 = (result * 59) + ($surfaceId == null ? 43 : $surfaceId.hashCode());
|
Object $trayId = getTrayId();
|
int result3 = (result2 * 59) + ($trayId == null ? 43 : $trayId.hashCode());
|
Object $trayName = getTrayName();
|
int result4 = (result3 * 59) + ($trayName == null ? 43 : $trayName.hashCode());
|
Object $surfaceName = getSurfaceName();
|
int result5 = (result4 * 59) + ($surfaceName == null ? 43 : $surfaceName.hashCode());
|
Object $trayCode = getTrayCode();
|
int result6 = (result5 * 59) + ($trayCode == null ? 43 : $trayCode.hashCode());
|
Object $surfaceCode = getSurfaceCode();
|
return (result6 * 59) + ($surfaceCode == null ? 43 : $surfaceCode.hashCode());
|
}
|
|
public String toString() {
|
return "TraySurfaceInfoVO(id=" + getId() + ", surfaceId=" + getSurfaceId() + ", trayId=" + getTrayId() + ", trayName=" + getTrayName() + ", surfaceName=" + getSurfaceName() + ", trayCode=" + getTrayCode() + ", surfaceCode=" + getSurfaceCode() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getSurfaceId() {
|
return this.surfaceId;
|
}
|
|
public Long getTrayId() {
|
return this.trayId;
|
}
|
|
public String getTrayName() {
|
return this.trayName;
|
}
|
|
public String getSurfaceName() {
|
return this.surfaceName;
|
}
|
|
public String getTrayCode() {
|
return this.trayCode;
|
}
|
|
public String getSurfaceCode() {
|
return this.surfaceCode;
|
}
|
}
|