2016-09-03 00:30:02 -04:00
|
|
|
<?php
|
2016-01-03 19:08:53 -05:00
|
|
|
|
2016-09-03 00:30:02 -04:00
|
|
|
namespace App\Models;
|
2016-01-03 19:08:53 -05:00
|
|
|
|
2018-04-18 00:38:11 -04:00
|
|
|
class Contact extends DashboardModel
|
2016-09-03 00:30:02 -04:00
|
|
|
{
|
2016-01-03 19:08:53 -05:00
|
|
|
protected $table = 'contact';
|
2016-01-26 23:20:08 -05:00
|
|
|
|
2018-04-18 00:38:11 -04:00
|
|
|
public static $dashboard_heading = 'Contact Form Submissions';
|
|
|
|
|
|
|
|
public static $export = true;
|
|
|
|
|
2018-01-11 01:13:58 -05:00
|
|
|
public static $dashboard_columns = [
|
2018-04-18 00:38:11 -04:00
|
|
|
[ 'name' => 'created_at', 'title' => 'Date' ],
|
|
|
|
[ 'name' => 'name' ],
|
|
|
|
[ 'name' => 'email' ],
|
|
|
|
[ 'name' => 'message' ]
|
2018-01-11 01:13:58 -05:00
|
|
|
];
|
2016-01-03 19:08:53 -05:00
|
|
|
}
|