package com.qianwen.smartman.modules.trace.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; import javax.validation.constraints.Size; /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/NgReasonInfoUpdateVO.class */ public class NgReasonInfoUpdateVO implements Serializable { @ApiModelProperty("租户ID") @Size(max = 12, message = "cps.ng.reason.tenantId.length.too.long") private String tenantId; @ApiModelProperty("原因编号") @Size(max = 255, message = "cps.ng.reason.reasonCode.length.too.long") private String reasonCode; @ApiModelProperty("原因名称") @Size(max = 64, message = "cps.ng.reason.reasonName.length.too.long") private String reasonName; @ApiModelProperty("备注") @Size(max = 255, message = "cps.ng.reason.remark.length.too.long") private String remark; @ApiModelProperty(value = "id", dataType = "java.lang.String") private Long id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty(value = "组结构id", dataType = "java.lang.String") private Long groupId; public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setReasonCode(final String reasonCode) { this.reasonCode = reasonCode; } public void setReasonName(final String reasonName) { this.reasonName = reasonName; } public void setRemark(final String remark) { this.remark = remark; } public void setId(final Long id) { this.id = id; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof NgReasonInfoUpdateVO) { NgReasonInfoUpdateVO other = (NgReasonInfoUpdateVO) 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$groupId = getGroupId(); Object other$groupId = other.getGroupId(); if (this$groupId == null) { if (other$groupId != null) { return false; } } else if (!this$groupId.equals(other$groupId)) { return false; } Object this$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { return false; } Object this$reasonCode = getReasonCode(); Object other$reasonCode = other.getReasonCode(); if (this$reasonCode == null) { if (other$reasonCode != null) { return false; } } else if (!this$reasonCode.equals(other$reasonCode)) { return false; } Object this$reasonName = getReasonName(); Object other$reasonName = other.getReasonName(); if (this$reasonName == null) { if (other$reasonName != null) { return false; } } else if (!this$reasonName.equals(other$reasonName)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); return this$remark == null ? other$remark == null : this$remark.equals(other$remark); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof NgReasonInfoUpdateVO; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $groupId = getGroupId(); int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode()); Object $tenantId = getTenantId(); int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $reasonCode = getReasonCode(); int result4 = (result3 * 59) + ($reasonCode == null ? 43 : $reasonCode.hashCode()); Object $reasonName = getReasonName(); int result5 = (result4 * 59) + ($reasonName == null ? 43 : $reasonName.hashCode()); Object $remark = getRemark(); return (result5 * 59) + ($remark == null ? 43 : $remark.hashCode()); } public String toString() { return "NgReasonInfoUpdateVO(tenantId=" + getTenantId() + ", reasonCode=" + getReasonCode() + ", reasonName=" + getReasonName() + ", remark=" + getRemark() + ", id=" + getId() + ", groupId=" + getGroupId() + ")"; } public String getTenantId() { return this.tenantId; } public String getReasonCode() { return this.reasonCode; } public String getReasonName() { return this.reasonName; } public String getRemark() { return this.remark; } public Long getId() { return this.id; } public Long getGroupId() { return this.groupId; } }