mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-22 16:04:10 -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' ]
|
|
];
|
|
}
|