Browse Source

增加数据权限枚举注释

tags/24080901
WendyYang 1 year ago
parent
commit
f25f516ef6
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/sys/model/entity/Menu.java

+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/sys/model/entity/Menu.java View File

@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ningdatech.pmapi.common.model.entity.MenuTreeEntity;
import com.ningdatech.pmapi.sys.model.enumeration.DataScopeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
@@ -60,6 +61,9 @@ public class Menu extends MenuTreeEntity<Menu, Long> {
@ApiModelProperty("是否有数据权限")
private Boolean hasDataScope;

/**
* @see DataScopeEnum
*/
@ApiModelProperty("数据权限选项")
private String dataScopeOption;



Loading…
Cancel
Save