| | |
| | | package com.ruoyi.system.domain.pojo.sys; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import com.ruoyi.common.core.web.domain.BaseEntity; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Size; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.core.web.domain.BaseEntity; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 菜单权限表 sys_menu |
| | | * |
| | | * @author ruoyi |
| | | * @author jqs |
| | | */ |
| | | public class SysMenu extends BaseEntity |
| | | { |
| | |
| | | |
| | | /** 菜单图标 */ |
| | | private String icon; |
| | | |
| | | /** 菜单来源1管理平台2员工端 */ |
| | | private Integer menuFrom; |
| | | |
| | | |
| | | /** 子菜单 */ |
| | | private List<SysMenu> children = new ArrayList<SysMenu>(); |
| | |
| | | { |
| | | this.children = children; |
| | | } |
| | | |
| | | |
| | | public Integer getMenuFrom() { |
| | | return menuFrom; |
| | | } |
| | | |
| | | public void setMenuFrom(Integer menuFrom) { |
| | | this.menuFrom = menuFrom; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("remark", getRemark()) |
| | | .append("menuFrom", getMenuFrom()) |
| | | .toString(); |
| | | } |
| | | } |