package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class ProcessSupplierTypeVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(name = "id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("供应商编号")
|
private String supplierCode;
|
@ApiModelProperty("供应商名称")
|
private String supplierName;
|
|
|
public static class ProcessSupplierTypeVOBuilder {
|
private Long id;
|
private String supplierCode;
|
private String supplierName;
|
|
ProcessSupplierTypeVOBuilder() {
|
}
|
|
public ProcessSupplierTypeVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProcessSupplierTypeVOBuilder supplierCode(final String supplierCode) {
|
this.supplierCode = supplierCode;
|
return this;
|
}
|
|
public ProcessSupplierTypeVOBuilder supplierName(final String supplierName) {
|
this.supplierName = supplierName;
|
return this;
|
}
|
|
public ProcessSupplierTypeVO build() {
|
return new ProcessSupplierTypeVO(this.id, this.supplierCode, this.supplierName);
|
}
|
|
public String toString() {
|
return "ProcessSupplierTypeVO.ProcessSupplierTypeVOBuilder(id=" + this.id + ", supplierCode=" + this.supplierCode + ", supplierName=" + this.supplierName + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setSupplierCode(final String supplierCode) {
|
this.supplierCode = supplierCode;
|
}
|
|
public void setSupplierName(final String supplierName) {
|
this.supplierName = supplierName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessSupplierTypeVO) {
|
ProcessSupplierTypeVO other = (ProcessSupplierTypeVO) 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$supplierCode = getSupplierCode();
|
Object other$supplierCode = other.getSupplierCode();
|
if (this$supplierCode == null) {
|
if (other$supplierCode != null) {
|
return false;
|
}
|
} else if (!this$supplierCode.equals(other$supplierCode)) {
|
return false;
|
}
|
Object this$supplierName = getSupplierName();
|
Object other$supplierName = other.getSupplierName();
|
return this$supplierName == null ? other$supplierName == null : this$supplierName.equals(other$supplierName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessSupplierTypeVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $supplierCode = getSupplierCode();
|
int result2 = (result * 59) + ($supplierCode == null ? 43 : $supplierCode.hashCode());
|
Object $supplierName = getSupplierName();
|
return (result2 * 59) + ($supplierName == null ? 43 : $supplierName.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessSupplierTypeVO(id=" + getId() + ", supplierCode=" + getSupplierCode() + ", supplierName=" + getSupplierName() + ")";
|
}
|
|
public static ProcessSupplierTypeVOBuilder builder() {
|
return new ProcessSupplierTypeVOBuilder();
|
}
|
|
public ProcessSupplierTypeVO(final Long id, final String supplierCode, final String supplierName) {
|
this.id = id;
|
this.supplierCode = supplierCode;
|
this.supplierName = supplierName;
|
}
|
|
public ProcessSupplierTypeVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getSupplierCode() {
|
return this.supplierCode;
|
}
|
|
public String getSupplierName() {
|
return this.supplierName;
|
}
|
}
|