package com.seer.teach.common.auth.dto;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class PermissionDTO {

    private Integer id;

    private String module;

    private String title;

    private String className;

    private Integer type;

    private List<ApiItem> apiItems;

    @Data
    public static class ApiItem {
        private String title;
        private String className;
        private String authorityCode;
        private String module;
        private String httpMethod;
        private String apiPath;
        private String methodName;
        private Integer type;
        private Integer sort;
    }
}