package com.engine.salary.entity.auth.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Permission {
    /**
     * 是否开启了分权
     */
    private Boolean isOpenDevolution;

    /**
     * 是否总管理员
     */
    private Boolean isChief;

    /**
     * 是否扣缴义务人管理员
     */
    private Boolean isAdminEnable;

    /**
     * 当前页面是否有权限
     */
    private boolean able;

    /**
     * 权限项
     */
    private List<String> opts;

}
