Pārlūkot izejas kodu

增加数据权限枚举注释

tags/24080901
WendyYang pirms 1 gada
vecāks
revīzija
f25f516ef6
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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;



Notiek ielāde…
Atcelt
Saglabāt