Browse Source
MenuTypeEnum (DIR/MENU/BUTTON) duplicated MenuType (CATALOG/MENU/BUTTON) with no callers. Removing it eliminates the DIR-vs-CATALOG domain vocabulary split and leaves a single source of truth for node type rules (isLegalChild etc.).master
1 changed files with 0 additions and 16 deletions
@ -1,16 +0,0 @@ |
|||||
package com.crm.auth.domain.enums; |
|
||||
|
|
||||
import com.crm.base.domain.enums.HasValueEnum; |
|
||||
import lombok.Getter; |
|
||||
import lombok.RequiredArgsConstructor; |
|
||||
|
|
||||
@Getter |
|
||||
@RequiredArgsConstructor |
|
||||
public enum MenuTypeEnum implements HasValueEnum<Integer> { |
|
||||
DIR(1, "目录"), |
|
||||
MENU(2, "菜单"), |
|
||||
BUTTON(3, "按钮"); |
|
||||
|
|
||||
private final Integer value; |
|
||||
private final String label; |
|
||||
} |
|
||||
Loading…
Reference in new issue