<?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' => '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' => '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' => 'Types',
        'flag' => 'property_type.index',
    ],
    [
        'name'        => 'Create',
        'flag'        => 'property_type.create',
        'parent_flag' => 'property_type.index',
    ],
    [
        'name'        => 'Edit',
        'flag'        => 'property_type.edit',
        'parent_flag' => 'property_type.index',
    ],
    [
        'name'        => 'Delete',
        'flag'        => 'property_type.destroy',
        'parent_flag' => 'property_type.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',
    ],
];
