<?php


return  
    [
        'model' => [
            'model' => \Edulab\College\Models\Student::class,
            'table' => 'edulab_college_students',
            'hidden'=> [],
            'visible' => [],
            'guarded' => ['*'],
            'slugs' => ['slug' => 'name'],
            'dates' => ['deleted_at', 'created_at', 'updated_at'],
            'appends' => [],
            'fillable' => ['college_id',  'standard_id',  'name',  'email',  'password',  'admission_no',  'roll_no',  'father',  'mother',  'fathers_mobile',  'mothers_mobile',  'blood_group',  'location',  'gender',  'dob',  'mobile',  'phone',  'api_token',  'remember_token',  'email_verified_at',  'user_id',  'user_type',  'address',  'street',  'city',  'district',  'state',  'country',  'photo',  'certificates',  'status',  'team_id'],
            'translatables' => [],
            'upload_folder' => 'college/student',
            'uploads' => [
            /*
                    'images' => [
                        'count' => 10,
                        'type'  => 'image',
                    ],
                    'file' => [
                        'count' => 1,
                        'type'  => 'file',
                    ],
            */
            ],

            'casts' => [
            
            /*
                'images'    => 'array',
                'file'      => 'array',
            */
            ],

            'revision' => [],
            'perPage' => '20',
            'search'        => [
                'name'  => 'like',
                'status',
            ]
        ],

        'search' => [
            
        ],

        'list' => [
            [
                "key" => "college_id", 
                "type" => "text", 
                "label" => 'college::student.label.college_id', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "standard_id", 
                "type" => "text", 
                "label" => 'college::student.label.standard_id', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "name", 
                "type" => "text", 
                "label" => 'college::student.label.name', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "email", 
                "type" => "text", 
                "label" => 'college::student.label.email', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "password", 
                "type" => "text", 
                "label" => 'college::student.label.password', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "admission_no", 
                "type" => "text", 
                "label" => 'college::student.label.admission_no', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "roll_no", 
                "type" => "text", 
                "label" => 'college::student.label.roll_no', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "father", 
                "type" => "text", 
                "label" => 'college::student.label.father', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "mother", 
                "type" => "text", 
                "label" => 'college::student.label.mother', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "fathers_mobile", 
                "type" => "text", 
                "label" => 'college::student.label.fathers_mobile', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "mothers_mobile", 
                "type" => "text", 
                "label" => 'college::student.label.mothers_mobile', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "blood_group", 
                "type" => "text", 
                "label" => 'college::student.label.blood_group', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "location", 
                "type" => "text", 
                "label" => 'college::student.label.location', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "gender", 
                "type" => "text", 
                "label" => 'college::student.label.gender', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "dob", 
                "type" => "text", 
                "label" => 'college::student.label.dob', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "mobile", 
                "type" => "text", 
                "label" => 'college::student.label.mobile', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "phone", 
                "type" => "text", 
                "label" => 'college::student.label.phone', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "api_token", 
                "type" => "text", 
                "label" => 'college::student.label.api_token', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "remember_token", 
                "type" => "text", 
                "label" => 'college::student.label.remember_token', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "email_verified_at", 
                "type" => "text", 
                "label" => 'college::student.label.email_verified_at', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "address", 
                "type" => "text", 
                "label" => 'college::student.label.address', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "street", 
                "type" => "text", 
                "label" => 'college::student.label.street', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "city", 
                "type" => "text", 
                "label" => 'college::student.label.city', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "district", 
                "type" => "text", 
                "label" => 'college::student.label.district', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "state", 
                "type" => "text", 
                "label" => 'college::student.label.state', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "country", 
                "type" => "text", 
                "label" => 'college::student.label.country', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "photo", 
                "type" => "text", 
                "label" => 'college::student.label.photo', 
                'sort' => true,
                'roles' => [],
            ],
            [
                "key" => "team_id", 
                "type" => "text", 
                "label" => 'college::student.label.team_id', 
                'sort' => true,
                'roles' => [],
            ],
        ],

        'form' => [
            [
                "key" => 'college_id',
                "element" => 'numeric',
                "type" => 'numeric',
                "label" => 'college::student.label.college_id',
                "placeholder" => 'college::student.placeholder.college_id',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'standard_id',
                "element" => 'numeric',
                "type" => 'numeric',
                "label" => 'college::student.label.standard_id',
                "placeholder" => 'college::student.placeholder.standard_id',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'name',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.name',
                "placeholder" => 'college::student.placeholder.name',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'email',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.email',
                "placeholder" => 'college::student.placeholder.email',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'password',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.password',
                "placeholder" => 'college::student.placeholder.password',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'admission_no',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.admission_no',
                "placeholder" => 'college::student.placeholder.admission_no',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'roll_no',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.roll_no',
                "placeholder" => 'college::student.placeholder.roll_no',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'father',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.father',
                "placeholder" => 'college::student.placeholder.father',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'mother',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.mother',
                "placeholder" => 'college::student.placeholder.mother',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'fathers_mobile',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.fathers_mobile',
                "placeholder" => 'college::student.placeholder.fathers_mobile',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'mothers_mobile',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.mothers_mobile',
                "placeholder" => 'college::student.placeholder.mothers_mobile',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'blood_group',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.blood_group',
                "placeholder" => 'college::student.placeholder.blood_group',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'location',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.location',
                "placeholder" => 'college::student.placeholder.location',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'gender',
                "element" => 'radios',
                "type" => 'radios',
                "label" => 'college::student.label.gender',
                "placeholder" => 'college::student.placeholder.gender',
                "rules" => '',
                "options" => function(){
                    return trans('college::student.options.gender');
                },
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'dob',
                "element" => 'date_picker',
                "type" => 'date_picker',
                "label" => 'college::student.label.dob',
                "placeholder" => 'college::student.placeholder.dob',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'mobile',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.mobile',
                "placeholder" => 'college::student.placeholder.mobile',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'phone',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.phone',
                "placeholder" => 'college::student.placeholder.phone',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'api_token',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.api_token',
                "placeholder" => 'college::student.placeholder.api_token',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'remember_token',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.remember_token',
                "placeholder" => 'college::student.placeholder.remember_token',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'email_verified_at',
                "element" => 'date_time_picker',
                "type" => 'date_time_picker',
                "label" => 'college::student.label.email_verified_at',
                "placeholder" => 'college::student.placeholder.email_verified_at',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'address',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.address',
                "placeholder" => 'college::student.placeholder.address',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'street',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.street',
                "placeholder" => 'college::student.placeholder.street',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'city',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.city',
                "placeholder" => 'college::student.placeholder.city',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'district',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.district',
                "placeholder" => 'college::student.placeholder.district',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'state',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.state',
                "placeholder" => 'college::student.placeholder.state',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'country',
                "element" => 'numeric',
                "type" => 'numeric',
                "label" => 'college::student.label.country',
                "placeholder" => 'college::student.placeholder.country',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'photo',
                "element" => 'text',
                "type" => 'text',
                "label" => 'college::student.label.photo',
                "placeholder" => 'college::student.placeholder.photo',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'certificates',
                "element" => 'html_editor',
                "type" => 'html_editor',
                "label" => 'college::student.label.certificates',
                "placeholder" => 'college::student.placeholder.certificates',
                "rules" => '',
                "group" => "main.main",
                "col" => "12",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
            [
                "key" => 'team_id',
                "element" => 'numeric',
                "type" => 'numeric',
                "label" => 'college::student.label.team_id',
                "placeholder" => 'college::student.placeholder.team_id',
                "rules" => '',
                "group" => "main.main",
                "col" => "6",
                "append" => null,
                "prepend" => null,
                "roles" => [],
                "attributes" => [
                    'wrapper' => [],
                    "label" => [],
                    "element" => [],

                ],
            ],
        ],

        'urls' => [
            'new' => [
                'url' => 'college/student/new',
                'method' => 'GET',
            ],
            'create' => [
                'url' => 'college/student/create',
                'method' => 'GET',
            ],
            'store' => [
                'url' => 'college/student',
                'method' => 'POST',
            ],
            'update' => [
                'url' => 'college/student',
                'method' => 'PUT',
            ],
            'list' => [
                'url' => 'college/student',
                'method' => 'GET',
            ],
            'delete' => [
                'url' => 'college/student',
                'method' => 'DELETE',
            ],
        ],

        'order' => [
            'created_at' => 'college::student.label.created_at',
            'name' => 'college::student.label.name',
            'status' => 'college::student.label.status',
        ],

        'groups' => [
            [
                'icon' => "mdi:account-supervisor-outline",
                'name' => "college::student.groups.main",
                'group' => "main.main",
                'title' => "college::student.groups.main",
            ],
            [
                'icon' => "fe:home",
                'name' => "college::student.groups.details",
                'group' => "main.details",
                'title' => "college::student.groups.details",
            ],
            'images' => [
                'icon' => "fe:home",
                'name' => "college::student.groups.images",
                'group' => "main.images",
                'title' => "college::student.groups.images",
            ],
            'settings' => [
                'icon' => "fe:home",
                'name' => "college::student.groups.settings",
                'group' => "main.settings",
                'title' => "college::student.groups.settings",
            ]
        ],

        'controller' => [
            'provider' => 'Edulab',
            'package' => 'College',
            'module' => 'Student',
        ],

        
        
    ];