|
|
|
@ -3,7 +3,7 @@ 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;
|
|
|
|
|
|
|
|
|
@ -13,7 +13,7 @@ import java.util.List;
|
|
|
|
|
* @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,7 +40,9 @@ public class HwWebMenu extends BaseEntity
|
|
|
|
|
@Excel(name = "图片地址")
|
|
|
|
|
private String webMenuPic;
|
|
|
|
|
|
|
|
|
|
private List<HwWebMenu> children;
|
|
|
|
|
/** 官网菜单类型 */
|
|
|
|
|
@Excel(name = "官网菜单类型")
|
|
|
|
|
private Long webMenuType;
|
|
|
|
|
|
|
|
|
|
public void setWebMenuId(Long webMenuId)
|
|
|
|
|
{
|
|
|
|
@ -66,15 +62,6 @@ public class HwWebMenu extends BaseEntity
|
|
|
|
|
{
|
|
|
|
|
return parent;
|
|
|
|
|
}
|
|
|
|
|
public void setAncestors(String ancestors)
|
|
|
|
|
{
|
|
|
|
|
this.ancestors = ancestors;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getAncestors()
|
|
|
|
|
{
|
|
|
|
|
return ancestors;
|
|
|
|
|
}
|
|
|
|
|
public void setStatus(String status)
|
|
|
|
|
{
|
|
|
|
|
this.status = status;
|
|
|
|
@ -111,23 +98,16 @@ public class HwWebMenu extends BaseEntity
|
|
|
|
|
{
|
|
|
|
|
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)
|
|
|
|
|