package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotNull;
|
|
@ApiModel(value = "BomProcessDeleteVO对象", description = "bom物料工序删除")
|
public class BomProcessDeleteVO implements Serializable {
|
@NotNull(message = "bom版本Id不能为空")
|
@ApiModelProperty(value = "bom版本Id", dataType = "java.lang.String")
|
private Long bomId;
|
@NotNull(message = "bom版本工序Id不能为空")
|
@ApiModelProperty(value = "主键", dataType = "java.lang.String")
|
private Long id;
|
|
public void setBomId(final Long bomId) {
|
this.bomId = bomId;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof BomProcessDeleteVO) {
|
BomProcessDeleteVO other = (BomProcessDeleteVO) o;
|
if (other.canEqual(this)) {
|
Object this$bomId = getBomId();
|
Object other$bomId = other.getBomId();
|
if (this$bomId == null) {
|
if (other$bomId != null) {
|
return false;
|
}
|
} else if (!this$bomId.equals(other$bomId)) {
|
return false;
|
}
|
Object this$id = getId();
|
Object other$id = other.getId();
|
return this$id == null ? other$id == null : this$id.equals(other$id);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof BomProcessDeleteVO;
|
}
|
|
public int hashCode() {
|
Object $bomId = getBomId();
|
int result = (1 * 59) + ($bomId == null ? 43 : $bomId.hashCode());
|
Object $id = getId();
|
return (result * 59) + ($id == null ? 43 : $id.hashCode());
|
}
|
|
public String toString() {
|
return "BomProcessDeleteVO(bomId=" + getBomId() + ", id=" + getId() + ")";
|
}
|
|
public Long getBomId() {
|
return this.bomId;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
}
|