package com.qianwen.smartman.modules.dnc.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.qianwen.core.mp.base.BaseEntity; @TableName(TransferDirectory.TABLE_NAME) public class TransferDirectory extends BaseEntity { public static final String TABLE_NAME = "blade_dnc_transfer_directory"; private static final long serialVersionUID = 1; @TableField("name") private String name; @TableField("group_all_path") private String groupAllPath; @TableField("group_id") private Long groupId; @TableField("dept_id") private Long deptId; @TableField("tenant_id") private String tenantId; @TableField("resource_id") private Long resourceId; @TableField("workstation_id") private Long workstationId; public void setName(final String name) { this.name = name; } public void setGroupAllPath(final String groupAllPath) { this.groupAllPath = groupAllPath; } public void setGroupId(final Long groupId) { this.groupId = groupId; } public void setDeptId(final Long deptId) { this.deptId = deptId; } public void setTenantId(final String tenantId) { this.tenantId = tenantId; } public void setResourceId(final Long resourceId) { this.resourceId = resourceId; } public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public String toString() { return "TransferDirectory(name=" + getName() + ", groupAllPath=" + getGroupAllPath() + ", groupId=" + getGroupId() + ", deptId=" + getDeptId() + ", tenantId=" + getTenantId() + ", resourceId=" + getResourceId() + ", workstationId=" + getWorkstationId() + ")"; } public TransferDirectory(final String name, final String groupAllPath, final Long groupId, final Long deptId, final String tenantId, final Long resourceId, final Long workstationId) { this.name = name; this.groupAllPath = groupAllPath; this.groupId = groupId; this.deptId = deptId; this.tenantId = tenantId; this.resourceId = resourceId; this.workstationId = workstationId; } public TransferDirectory() { } /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/entity/TransferDirectory$TransferDirectoryBuilder.class */ public static class TransferDirectoryBuilder { private String name; private String groupAllPath; private Long groupId; private Long deptId; private String tenantId; private Long resourceId; private Long workstationId; TransferDirectoryBuilder() { } public TransferDirectoryBuilder name(final String name) { this.name = name; return this; } public TransferDirectoryBuilder groupAllPath(final String groupAllPath) { this.groupAllPath = groupAllPath; return this; } public TransferDirectoryBuilder groupId(final Long groupId) { this.groupId = groupId; return this; } public TransferDirectoryBuilder deptId(final Long deptId) { this.deptId = deptId; return this; } public TransferDirectoryBuilder tenantId(final String tenantId) { this.tenantId = tenantId; return this; } public TransferDirectoryBuilder resourceId(final Long resourceId) { this.resourceId = resourceId; return this; } public TransferDirectoryBuilder workstationId(final Long workstationId) { this.workstationId = workstationId; return this; } public TransferDirectory build() { return new TransferDirectory(this.name, this.groupAllPath, this.groupId, this.deptId, this.tenantId, this.resourceId, this.workstationId); } public String toString() { return "TransferDirectory.TransferDirectoryBuilder(name=" + this.name + ", groupAllPath=" + this.groupAllPath + ", groupId=" + this.groupId + ", deptId=" + this.deptId + ", tenantId=" + this.tenantId + ", resourceId=" + this.resourceId + ", workstationId=" + this.workstationId + ")"; } } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TransferDirectory) { TransferDirectory other = (TransferDirectory) o; if (other.canEqual(this)) { 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$deptId = getDeptId(); Object other$deptId = other.getDeptId(); if (this$deptId == null) { if (other$deptId != null) { return false; } } else if (!this$deptId.equals(other$deptId)) { return false; } Object this$resourceId = getResourceId(); Object other$resourceId = other.getResourceId(); if (this$resourceId == null) { if (other$resourceId != null) { return false; } } else if (!this$resourceId.equals(other$resourceId)) { return false; } Object this$workstationId = getWorkstationId(); Object other$workstationId = other.getWorkstationId(); if (this$workstationId == null) { if (other$workstationId != null) { return false; } } else if (!this$workstationId.equals(other$workstationId)) { 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$groupAllPath = getGroupAllPath(); Object other$groupAllPath = other.getGroupAllPath(); if (this$groupAllPath == null) { if (other$groupAllPath != null) { return false; } } else if (!this$groupAllPath.equals(other$groupAllPath)) { return false; } Object this$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); return this$tenantId == null ? other$tenantId == null : this$tenantId.equals(other$tenantId); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TransferDirectory; } public int hashCode() { Object $groupId = getGroupId(); int result = (1 * 59) + ($groupId == null ? 43 : $groupId.hashCode()); Object $deptId = getDeptId(); int result2 = (result * 59) + ($deptId == null ? 43 : $deptId.hashCode()); Object $resourceId = getResourceId(); int result3 = (result2 * 59) + ($resourceId == null ? 43 : $resourceId.hashCode()); Object $workstationId = getWorkstationId(); int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $name = getName(); int result5 = (result4 * 59) + ($name == null ? 43 : $name.hashCode()); Object $groupAllPath = getGroupAllPath(); int result6 = (result5 * 59) + ($groupAllPath == null ? 43 : $groupAllPath.hashCode()); Object $tenantId = getTenantId(); return (result6 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); } public static TransferDirectoryBuilder builder() { return new TransferDirectoryBuilder(); } public String getName() { return this.name; } public String getGroupAllPath() { return this.groupAllPath; } public Long getGroupId() { return this.groupId; } public Long getDeptId() { return this.deptId; } public String getTenantId() { return this.tenantId; } public Long getResourceId() { return this.resourceId; } public Long getWorkstationId() { return this.workstationId; } }