mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-23 01:50:23 -05:00
21 lines
446 B
PHP
21 lines
446 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
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' ]
|
|
];
|
|
}
|