mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
19 lines
405 B
PHP
19 lines
405 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
class Contact extends DashboardModel
|
|
{
|
|
protected $table = 'contact';
|
|
|
|
public static $dashboard_heading = 'Contact Form Submissions';
|
|
|
|
public static $export = true;
|
|
|
|
public static $dashboard_columns = [
|
|
[ 'name' => 'created_at', 'title' => 'Date' ],
|
|
[ 'name' => 'name' ],
|
|
[ 'name' => 'email' ],
|
|
[ 'name' => 'message' ]
|
|
];
|
|
}
|