diff --git a/src/main/java/com/entity/AuthorityInfo.java b/src/main/java/com/entity/AuthorityInfo.java new file mode 100644 index 0000000..0a27965 --- /dev/null +++ b/src/main/java/com/entity/AuthorityInfo.java @@ -0,0 +1,54 @@ +package com.example.entity; + +import java.util.List; + +public class AuthorityInfo { + private Integer level; + private String name; + private List models; + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getModels() { + return models; + } + + public void setModels(List models) { + this.models = models; + } + + public static class Model { + private Integer modelId; + private List operation; + + public Integer getModelId() { + return modelId; + } + + public void setModelId(Integer modelId) { + this.modelId = modelId; + } + + public List getOperation() { + return operation; + } + + public void setOperation(List operation) { + this.operation = operation; + } + } +}