package com.qianwen.smartman.modules.cps.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; @TableName("blade_workstation_wcs_usage") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/WorkstationWcsUsage.class */ public class WorkstationWcsUsage implements Serializable { @TableId private Long id; private Integer collectType; private String usageName; private String usageCode; private String parameter; private Long createUser; @TableField(fill = FieldFill.INSERT) private Date createTime; @TableField(fill = FieldFill.UPDATE) private Long updateUser; @TableField(fill = FieldFill.UPDATE) private Date updateTime; @TableField(exist = false) private static final long serialVersionUID = 1; public void setId(final Long id) { this.id = id; } public void setCollectType(final Integer collectType) { this.collectType = collectType; } public void setUsageName(final String usageName) { this.usageName = usageName; } public void setUsageCode(final String usageCode) { this.usageCode = usageCode; } public void setParameter(final String parameter) { this.parameter = parameter; } public void setCreateUser(final Long createUser) { this.createUser = createUser; } public void setCreateTime(final Date createTime) { this.createTime = createTime; } public void setUpdateUser(final Long updateUser) { this.updateUser = updateUser; } public void setUpdateTime(final Date updateTime) { this.updateTime = updateTime; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof WorkstationWcsUsage) { WorkstationWcsUsage other = (WorkstationWcsUsage) 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$collectType = getCollectType(); Object other$collectType = other.getCollectType(); if (this$collectType == null) { if (other$collectType != null) { return false; } } else if (!this$collectType.equals(other$collectType)) { return false; } Object this$createUser = getCreateUser(); Object other$createUser = other.getCreateUser(); if (this$createUser == null) { if (other$createUser != null) { return false; } } else if (!this$createUser.equals(other$createUser)) { return false; } Object this$updateUser = getUpdateUser(); Object other$updateUser = other.getUpdateUser(); if (this$updateUser == null) { if (other$updateUser != null) { return false; } } else if (!this$updateUser.equals(other$updateUser)) { return false; } Object this$usageName = getUsageName(); Object other$usageName = other.getUsageName(); if (this$usageName == null) { if (other$usageName != null) { return false; } } else if (!this$usageName.equals(other$usageName)) { return false; } Object this$usageCode = getUsageCode(); Object other$usageCode = other.getUsageCode(); if (this$usageCode == null) { if (other$usageCode != null) { return false; } } else if (!this$usageCode.equals(other$usageCode)) { return false; } Object this$parameter = getParameter(); Object other$parameter = other.getParameter(); if (this$parameter == null) { if (other$parameter != null) { return false; } } else if (!this$parameter.equals(other$parameter)) { return false; } Object this$createTime = getCreateTime(); Object other$createTime = other.getCreateTime(); if (this$createTime == null) { if (other$createTime != null) { return false; } } else if (!this$createTime.equals(other$createTime)) { return false; } Object this$updateTime = getUpdateTime(); Object other$updateTime = other.getUpdateTime(); return this$updateTime == null ? other$updateTime == null : this$updateTime.equals(other$updateTime); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof WorkstationWcsUsage; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $collectType = getCollectType(); int result2 = (result * 59) + ($collectType == null ? 43 : $collectType.hashCode()); Object $createUser = getCreateUser(); int result3 = (result2 * 59) + ($createUser == null ? 43 : $createUser.hashCode()); Object $updateUser = getUpdateUser(); int result4 = (result3 * 59) + ($updateUser == null ? 43 : $updateUser.hashCode()); Object $usageName = getUsageName(); int result5 = (result4 * 59) + ($usageName == null ? 43 : $usageName.hashCode()); Object $usageCode = getUsageCode(); int result6 = (result5 * 59) + ($usageCode == null ? 43 : $usageCode.hashCode()); Object $parameter = getParameter(); int result7 = (result6 * 59) + ($parameter == null ? 43 : $parameter.hashCode()); Object $createTime = getCreateTime(); int result8 = (result7 * 59) + ($createTime == null ? 43 : $createTime.hashCode()); Object $updateTime = getUpdateTime(); return (result8 * 59) + ($updateTime == null ? 43 : $updateTime.hashCode()); } public String toString() { return "WorkstationWcsUsage(id=" + getId() + ", collectType=" + getCollectType() + ", usageName=" + getUsageName() + ", usageCode=" + getUsageCode() + ", parameter=" + getParameter() + ", createUser=" + getCreateUser() + ", createTime=" + getCreateTime() + ", updateUser=" + getUpdateUser() + ", updateTime=" + getUpdateTime() + ")"; } public Long getId() { return this.id; } public Integer getCollectType() { return this.collectType; } public String getUsageName() { return this.usageName; } public String getUsageCode() { return this.usageCode; } public String getParameter() { return this.parameter; } public Long getCreateUser() { return this.createUser; } public Date getCreateTime() { return this.createTime; } public Long getUpdateUser() { return this.updateUser; } public Date getUpdateTime() { return this.updateTime; } }