package com.qianwen.smartman.modules.tpm.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/ApplyCodeVO.class */
|
public class ApplyCodeVO implements Serializable {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("申请单id")
|
private Long id;
|
@ApiModelProperty("申请单号")
|
private String applyCode;
|
|
public ApplyCodeVO setId(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ApplyCodeVO setApplyCode(final String applyCode) {
|
this.applyCode = applyCode;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ApplyCodeVO) {
|
ApplyCodeVO other = (ApplyCodeVO) 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$applyCode = getApplyCode();
|
Object other$applyCode = other.getApplyCode();
|
return this$applyCode == null ? other$applyCode == null : this$applyCode.equals(other$applyCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ApplyCodeVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $applyCode = getApplyCode();
|
return (result * 59) + ($applyCode == null ? 43 : $applyCode.hashCode());
|
}
|
|
public String toString() {
|
return "ApplyCodeVO(id=" + getId() + ", applyCode=" + getApplyCode() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getApplyCode() {
|
return this.applyCode;
|
}
|
}
|