|
|
|
@ -3,17 +3,17 @@ package com.ruoyi.portal.domain;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
import com.ruoyi.common.core.annotation.Excel;
|
|
|
|
|
import com.ruoyi.common.core.web.domain.BaseEntity;
|
|
|
|
|
import com.ruoyi.common.core.web.domain.TreeEntity;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* haiwei官网菜单对象 hw_web_menu
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @author zch
|
|
|
|
|
* @date 2025-08-18
|
|
|
|
|
*/
|
|
|
|
|
public class HwWebMenu extends BaseEntity
|
|
|
|
|
public class HwWebMenu extends TreeEntity
|
|
|
|
|
{
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
@ -24,16 +24,10 @@ public class HwWebMenu extends BaseEntity
|
|
|
|
|
@Excel(name = "父节点")
|
|
|
|
|
private Long parent;
|
|
|
|
|
|
|
|
|
|
/** 祖先 */
|
|
|
|
|
@Excel(name = "祖先")
|
|
|
|
|
private String ancestors;
|
|
|
|
|
|
|
|
|
|
/** 状态 */
|
|
|
|
|
@Excel(name = "状态")
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
private int webMenuType;
|
|
|
|
|
|
|
|
|
|
/** 菜单名称 */
|
|
|
|
|
@Excel(name = "菜单名称")
|
|
|
|
|
private String webMenuName;
|
|
|
|
@ -46,99 +40,85 @@ public class HwWebMenu extends BaseEntity
|
|
|
|
|
@Excel(name = "图片地址")
|
|
|
|
|
private String webMenuPic;
|
|
|
|
|
|
|
|
|
|
private List<HwWebMenu> children;
|
|
|
|
|
/** 官网菜单类型 */
|
|
|
|
|
@Excel(name = "官网菜单类型")
|
|
|
|
|
private Long webMenuType;
|
|
|
|
|
|
|
|
|
|
public void setWebMenuId(Long webMenuId)
|
|
|
|
|
public void setWebMenuId(Long webMenuId)
|
|
|
|
|
{
|
|
|
|
|
this.webMenuId = webMenuId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getWebMenuId()
|
|
|
|
|
public Long getWebMenuId()
|
|
|
|
|
{
|
|
|
|
|
return webMenuId;
|
|
|
|
|
}
|
|
|
|
|
public void setParent(Long parent)
|
|
|
|
|
public void setParent(Long parent)
|
|
|
|
|
{
|
|
|
|
|
this.parent = parent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getParent()
|
|
|
|
|
public Long getParent()
|
|
|
|
|
{
|
|
|
|
|
return parent;
|
|
|
|
|
}
|
|
|
|
|
public void setAncestors(String ancestors)
|
|
|
|
|
{
|
|
|
|
|
this.ancestors = ancestors;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getAncestors()
|
|
|
|
|
{
|
|
|
|
|
return ancestors;
|
|
|
|
|
}
|
|
|
|
|
public void setStatus(String status)
|
|
|
|
|
public void setStatus(String status)
|
|
|
|
|
{
|
|
|
|
|
this.status = status;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getStatus()
|
|
|
|
|
public String getStatus()
|
|
|
|
|
{
|
|
|
|
|
return status;
|
|
|
|
|
}
|
|
|
|
|
public void setWebMenuName(String webMenuName)
|
|
|
|
|
public void setWebMenuName(String webMenuName)
|
|
|
|
|
{
|
|
|
|
|
this.webMenuName = webMenuName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getWebMenuName()
|
|
|
|
|
public String getWebMenuName()
|
|
|
|
|
{
|
|
|
|
|
return webMenuName;
|
|
|
|
|
}
|
|
|
|
|
public void setTenantId(Long tenantId)
|
|
|
|
|
public void setTenantId(Long tenantId)
|
|
|
|
|
{
|
|
|
|
|
this.tenantId = tenantId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getTenantId()
|
|
|
|
|
public Long getTenantId()
|
|
|
|
|
{
|
|
|
|
|
return tenantId;
|
|
|
|
|
}
|
|
|
|
|
public void setWebMenuPic(String webMenuPic)
|
|
|
|
|
public void setWebMenuPic(String webMenuPic)
|
|
|
|
|
{
|
|
|
|
|
this.webMenuPic = webMenuPic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getWebMenuPic()
|
|
|
|
|
public String getWebMenuPic()
|
|
|
|
|
{
|
|
|
|
|
return webMenuPic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<HwWebMenu> getChildren() {
|
|
|
|
|
return children;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setChildren(List<HwWebMenu> children) {
|
|
|
|
|
this.children = children;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getWebMenuType() {
|
|
|
|
|
return webMenuType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setWebMenuType(int webMenuType) {
|
|
|
|
|
public void setWebMenuType(Long webMenuType)
|
|
|
|
|
{
|
|
|
|
|
this.webMenuType = webMenuType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Long getWebMenuType()
|
|
|
|
|
{
|
|
|
|
|
return webMenuType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
|
.append("webMenuId", getWebMenuId())
|
|
|
|
|
.append("parent", getParent())
|
|
|
|
|
.append("ancestors", getAncestors())
|
|
|
|
|
.append("status", getStatus())
|
|
|
|
|
.append("webMenuName", getWebMenuName())
|
|
|
|
|
.append("tenantId", getTenantId())
|
|
|
|
|
.append("webMenuPic", getWebMenuPic())
|
|
|
|
|
.append("webMenuType", getWebMenuType())
|
|
|
|
|
.toString();
|
|
|
|
|
.append("webMenuId", getWebMenuId())
|
|
|
|
|
.append("parent", getParent())
|
|
|
|
|
.append("ancestors", getAncestors())
|
|
|
|
|
.append("status", getStatus())
|
|
|
|
|
.append("webMenuName", getWebMenuName())
|
|
|
|
|
.append("tenantId", getTenantId())
|
|
|
|
|
.append("webMenuPic", getWebMenuPic())
|
|
|
|
|
.append("webMenuType", getWebMenuType())
|
|
|
|
|
.toString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|