package cn.ysk.cashier.dto.shop;

import lombok.Data;

import java.util.List;

@Data
public class TbShopPermissionDto {
    private Integer id;
    //权限类型：staff 员工，
    private String type;
    //权限名称
    private String label;
    //权限code，为了区分采用汉语拼音
    private String code;
    //层级
    private Integer level;
    //上级ID
    private Integer parentId;
    //是否重要： 重要对应页面红色
    private Integer isImportant;
    //排序
    private Integer sort;

    private Integer hasPermission;

    private List<TbShopPermissionDto> children;
}
