| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- package cn.com.goldenwater.dcproj.dto;
- import cn.com.goldenwater.core.model.BaseBean;
- import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- import java.util.List;
- /**
- * Created by zhengdafei on 2018/6/5.
- */
- @JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
- public class MenuDto extends BaseBean implements Serializable {
- @ApiModelProperty(value = "ID")
- private String id;
- @ApiModelProperty(value = "权限id")
- private String privId; //权限id
- @ApiModelProperty(value = "权限名")
- private String privName;//权限名
- @ApiModelProperty(value = "权限标识")
- private String code;
- @ApiModelProperty(value = "父id")
- private String parentId;//父id
- @ApiModelProperty(value = "父名")
- private String parentName;//父名
- @ApiModelProperty(value = "菜单名")
- private String menuName;//菜单名
- @ApiModelProperty(value = "等级")
- private Long sortLevel;//等级
- //顺序
- @ApiModelProperty(value = "顺序")
- private Long sequence;
- @ApiModelProperty(value = "超链接")
- private String href;//超链接
- @ApiModelProperty(value = "图片")
- private String icon;//图片
- private boolean checked;
- @ApiModelProperty(value = "叶子节点标识")
- private Boolean flagLeaf;
- @ApiModelProperty(value = "子菜单")
- private List<MenuDto> menuList;
- @ApiModelProperty("1代表督查,2代表稽察。无值标识所有菜单")
- private String ownApp;
- public String getOwnApp() {
- return ownApp;
- }
- public void setOwnApp(String ownApp) {
- this.ownApp = ownApp;
- }
- public Boolean getFlagLeaf() {
- return flagLeaf;
- }
- public void setFlagLeaf(Boolean flagLeaf) {
- this.flagLeaf = flagLeaf;
- }
- public List<MenuDto> getMenuList() {
- return menuList;
- }
- public void setMenuList(List<MenuDto> menuList) {
- this.menuList = menuList;
- }
- public String getId() {
- return id;
- }
- public void setId(String id) {
- this.id = id;
- }
- public String getPrivId() {
- return privId;
- }
- public void setPrivId(String privId) {
- this.privId = privId;
- }
- public String getPrivName() {
- return privName;
- }
- public void setPrivName(String privName) {
- this.privName = privName;
- }
- public String getParentId() {
- return parentId;
- }
- public void setParentId(String parentId) {
- this.parentId = parentId;
- }
- public String getParentName() {
- return parentName;
- }
- public void setParentName(String parentName) {
- this.parentName = parentName;
- }
- public String getMenuName() {
- return menuName;
- }
- public void setMenuName(String menuName) {
- this.menuName = menuName;
- }
- public Long getSortLevel() {
- return sortLevel;
- }
- public void setSortLevel(Long sortLevel) {
- this.sortLevel = sortLevel;
- }
- public String getHref() {
- return href;
- }
- public void setHref(String href) {
- this.href = href;
- }
- public String getIcon() {
- return icon;
- }
- public void setIcon(String icon) {
- this.icon = icon;
- }
- public boolean isChecked() {
- return checked;
- }
- public void setChecked(boolean checked) {
- this.checked = checked;
- }
- public Long getSequence() {
- return sequence;
- }
- public void setSequence(Long sequence) {
- this.sequence = sequence;
- }
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- }
|