package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; @TableName("blade_global_wcs") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/GlobalWcs.class */ public class GlobalWcs implements Serializable { private static final long serialVersionUID = 1; private String code; private String name; private Integer type; private Integer effect; private Integer priority; private String remark; private String color; private Integer seq; public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setType(final Integer type) { this.type = type; } public void setEffect(final Integer effect) { this.effect = effect; } public void setPriority(final Integer priority) { this.priority = priority; } public void setRemark(final String remark) { this.remark = remark; } public void setColor(final String color) { this.color = color; } public void setSeq(final Integer seq) { this.seq = seq; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof GlobalWcs) { GlobalWcs other = (GlobalWcs) o; if (other.canEqual(this)) { Object this$type = getType(); Object other$type = other.getType(); if (this$type == null) { if (other$type != null) { return false; } } else if (!this$type.equals(other$type)) { return false; } Object this$effect = getEffect(); Object other$effect = other.getEffect(); if (this$effect == null) { if (other$effect != null) { return false; } } else if (!this$effect.equals(other$effect)) { return false; } Object this$priority = getPriority(); Object other$priority = other.getPriority(); if (this$priority == null) { if (other$priority != null) { return false; } } else if (!this$priority.equals(other$priority)) { return false; } Object this$seq = getSeq(); Object other$seq = other.getSeq(); if (this$seq == null) { if (other$seq != null) { return false; } } else if (!this$seq.equals(other$seq)) { return false; } Object this$code = getCode(); Object other$code = other.getCode(); if (this$code == null) { if (other$code != null) { return false; } } else if (!this$code.equals(other$code)) { return false; } Object this$name = getName(); Object other$name = other.getName(); if (this$name == null) { if (other$name != null) { return false; } } else if (!this$name.equals(other$name)) { return false; } Object this$remark = getRemark(); Object other$remark = other.getRemark(); if (this$remark == null) { if (other$remark != null) { return false; } } else if (!this$remark.equals(other$remark)) { return false; } Object this$color = getColor(); Object other$color = other.getColor(); return this$color == null ? other$color == null : this$color.equals(other$color); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof GlobalWcs; } public int hashCode() { Object $type = getType(); int result = (1 * 59) + ($type == null ? 43 : $type.hashCode()); Object $effect = getEffect(); int result2 = (result * 59) + ($effect == null ? 43 : $effect.hashCode()); Object $priority = getPriority(); int result3 = (result2 * 59) + ($priority == null ? 43 : $priority.hashCode()); Object $seq = getSeq(); int result4 = (result3 * 59) + ($seq == null ? 43 : $seq.hashCode()); Object $code = getCode(); int result5 = (result4 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result6 = (result5 * 59) + ($name == null ? 43 : $name.hashCode()); Object $remark = getRemark(); int result7 = (result6 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $color = getColor(); return (result7 * 59) + ($color == null ? 43 : $color.hashCode()); } public String toString() { return "GlobalWcs(code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", effect=" + getEffect() + ", priority=" + getPriority() + ", remark=" + getRemark() + ", color=" + getColor() + ", seq=" + getSeq() + ")"; } public String getCode() { return this.code; } public String getName() { return this.name; } public Integer getType() { return this.type; } public Integer getEffect() { return this.effect; } public Integer getPriority() { return this.priority; } public String getRemark() { return this.remark; } public String getColor() { return this.color; } public Integer getSeq() { return this.seq; } }