package com.qianwen.smartman.modules.system.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @ApiModel(value = "Menu", description = "Menu对象") @TableName("blade_menu") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/Menu.class */ public class Menu implements Serializable { private static final long serialVersionUID = 1; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("主键") @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("菜单父主键") private Long parentId; @ApiModelProperty("菜单编号") private String code; @ApiModelProperty("菜单名称") private String name; @ApiModelProperty("菜单别名") private String alias; @ApiModelProperty("请求地址") private String path; @ApiModelProperty("菜单资源") private String source; @ApiModelProperty("排序") private Integer sort; @ApiModelProperty("菜单类型") private Integer category; @ApiModelProperty("操作按钮类型") private Integer action; @ApiModelProperty("是否打开新页面") private Integer isOpen; @ApiModelProperty("备注") private String remark; @ApiModelProperty("路由缓冲") private Integer keepAlive; @ApiModelProperty("所属应用,CPS:FMS:VISION") private String belongApplication; @TableLogic @ApiModelProperty("是否已删除") private Integer isDeleted; public void setId(final Long id) { this.id = id; } public void setParentId(final Long parentId) { this.parentId = parentId; } public void setCode(final String code) { this.code = code; } public void setName(final String name) { this.name = name; } public void setAlias(final String alias) { this.alias = alias; } public void setPath(final String path) { this.path = path; } public void setSource(final String source) { this.source = source; } public void setSort(final Integer sort) { this.sort = sort; } public void setCategory(final Integer category) { this.category = category; } public void setAction(final Integer action) { this.action = action; } public void setIsOpen(final Integer isOpen) { this.isOpen = isOpen; } public void setRemark(final String remark) { this.remark = remark; } public void setKeepAlive(final Integer keepAlive) { this.keepAlive = keepAlive; } public void setBelongApplication(final String belongApplication) { this.belongApplication = belongApplication; } public void setIsDeleted(final Integer isDeleted) { this.isDeleted = isDeleted; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof Menu) { Menu other = (Menu) 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$parentId = getParentId(); Object other$parentId = other.getParentId(); if (this$parentId == null) { if (other$parentId != null) { return false; } } else if (!this$parentId.equals(other$parentId)) { return false; } Object this$sort = getSort(); Object other$sort = other.getSort(); if (this$sort == null) { if (other$sort != null) { return false; } } else if (!this$sort.equals(other$sort)) { return false; } Object this$category = getCategory(); Object other$category = other.getCategory(); if (this$category == null) { if (other$category != null) { return false; } } else if (!this$category.equals(other$category)) { return false; } Object this$action = getAction(); Object other$action = other.getAction(); if (this$action == null) { if (other$action != null) { return false; } } else if (!this$action.equals(other$action)) { return false; } Object this$isOpen = getIsOpen(); Object other$isOpen = other.getIsOpen(); if (this$isOpen == null) { if (other$isOpen != null) { return false; } } else if (!this$isOpen.equals(other$isOpen)) { return false; } Object this$keepAlive = getKeepAlive(); Object other$keepAlive = other.getKeepAlive(); if (this$keepAlive == null) { if (other$keepAlive != null) { return false; } } else if (!this$keepAlive.equals(other$keepAlive)) { return false; } Object this$isDeleted = getIsDeleted(); Object other$isDeleted = other.getIsDeleted(); if (this$isDeleted == null) { if (other$isDeleted != null) { return false; } } else if (!this$isDeleted.equals(other$isDeleted)) { 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$alias = getAlias(); Object other$alias = other.getAlias(); if (this$alias == null) { if (other$alias != null) { return false; } } else if (!this$alias.equals(other$alias)) { return false; } Object this$path = getPath(); Object other$path = other.getPath(); if (this$path == null) { if (other$path != null) { return false; } } else if (!this$path.equals(other$path)) { return false; } Object this$source = getSource(); Object other$source = other.getSource(); if (this$source == null) { if (other$source != null) { return false; } } else if (!this$source.equals(other$source)) { 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$belongApplication = getBelongApplication(); Object other$belongApplication = other.getBelongApplication(); return this$belongApplication == null ? other$belongApplication == null : this$belongApplication.equals(other$belongApplication); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof Menu; } public int hashCode() { Object $id = getId(); int result = (1 * 59) + ($id == null ? 43 : $id.hashCode()); Object $parentId = getParentId(); int result2 = (result * 59) + ($parentId == null ? 43 : $parentId.hashCode()); Object $sort = getSort(); int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode()); Object $category = getCategory(); int result4 = (result3 * 59) + ($category == null ? 43 : $category.hashCode()); Object $action = getAction(); int result5 = (result4 * 59) + ($action == null ? 43 : $action.hashCode()); Object $isOpen = getIsOpen(); int result6 = (result5 * 59) + ($isOpen == null ? 43 : $isOpen.hashCode()); Object $keepAlive = getKeepAlive(); int result7 = (result6 * 59) + ($keepAlive == null ? 43 : $keepAlive.hashCode()); Object $isDeleted = getIsDeleted(); int result8 = (result7 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode()); Object $code = getCode(); int result9 = (result8 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result10 = (result9 * 59) + ($name == null ? 43 : $name.hashCode()); Object $alias = getAlias(); int result11 = (result10 * 59) + ($alias == null ? 43 : $alias.hashCode()); Object $path = getPath(); int result12 = (result11 * 59) + ($path == null ? 43 : $path.hashCode()); Object $source = getSource(); int result13 = (result12 * 59) + ($source == null ? 43 : $source.hashCode()); Object $remark = getRemark(); int result14 = (result13 * 59) + ($remark == null ? 43 : $remark.hashCode()); Object $belongApplication = getBelongApplication(); return (result14 * 59) + ($belongApplication == null ? 43 : $belongApplication.hashCode()); } public String toString() { return "Menu(id=" + getId() + ", parentId=" + getParentId() + ", code=" + getCode() + ", name=" + getName() + ", alias=" + getAlias() + ", path=" + getPath() + ", source=" + getSource() + ", sort=" + getSort() + ", category=" + getCategory() + ", action=" + getAction() + ", isOpen=" + getIsOpen() + ", remark=" + getRemark() + ", keepAlive=" + getKeepAlive() + ", belongApplication=" + getBelongApplication() + ", isDeleted=" + getIsDeleted() + ")"; } public Long getId() { return this.id; } public Long getParentId() { return this.parentId; } public String getCode() { return this.code; } public String getName() { return this.name; } public String getAlias() { return this.alias; } public String getPath() { return this.path; } public String getSource() { return this.source; } public Integer getSort() { return this.sort; } public Integer getCategory() { return this.category; } public Integer getAction() { return this.action; } public Integer getIsOpen() { return this.isOpen; } public String getRemark() { return this.remark; } public Integer getKeepAlive() { return this.keepAlive; } public String getBelongApplication() { return this.belongApplication; } public Integer getIsDeleted() { return this.isDeleted; } }