<?php

return [
    [
        'name' => 'Properties',
        'flag' => 'property.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'property.create',
        'parent_flag' => 'property.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'property.edit',
        'parent_flag' => 'property.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'property.destroy',
        'parent_flag' => 'property.index',
    ],

    [
        'name' => 'Projects',
        'flag' => 'project.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'project.create',
        'parent_flag' => 'project.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'project.edit',
        'parent_flag' => 'project.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'project.destroy',
        'parent_flag' => 'project.index',
    ],

    [
        'name' => 'Property Features',
        'flag' => 'property_feature.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'property_feature.create',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'property_feature.edit',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'property_feature.destroy',
        'parent_flag' => 'property_feature.index',
    ],
    [
        'name' => 'Investors',
        'flag' => 'investor.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'investor.create',
        'parent_flag' => 'investor.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'investor.edit',
        'parent_flag' => 'investor.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'investor.destroy',
        'parent_flag' => 'investor.index',
    ],

    [
        'name' => 'Consult',
        'flag' => 'consult.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'consult.create',
        'parent_flag' => 'consult.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'consult.edit',
        'parent_flag' => 'consult.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'consult.destroy',
        'parent_flag' => 'consult.index',
    ],
    [
        'name' => 'Categories',
        'flag' => 'property_category.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'property_category.create',
        'parent_flag' => 'property_category.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'property_category.edit',
        'parent_flag' => 'property_category.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'property_category.destroy',
        'parent_flag' => 'property_category.index',
    ],

    [
        'name' => 'Facilities',
        'flag' => 'facility.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'facility.create',
        'parent_flag' => 'facility.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'facility.edit',
        'parent_flag' => 'facility.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'facility.destroy',
        'parent_flag' => 'facility.index',
    ],

    [
        'name' => 'Accounts',
        'flag' => 'account.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'account.create',
        'parent_flag' => 'account.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'account.edit',
        'parent_flag' => 'account.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'account.destroy',
        'parent_flag' => 'account.index',
    ],

    [
        'name' => 'Packages',
        'flag' => 'package.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'package.create',
        'parent_flag' => 'package.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'package.edit',
        'parent_flag' => 'package.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'package.destroy',
        'parent_flag' => 'package.index',
    ],

    [
        'name' => 'Consults',
        'flag' => 'consults.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'consults.edit',
        'parent_flag' => 'consults.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'consults.destroy',
        'parent_flag' => 'consults.index',
    ],
];
