hypothetical/app/Models/Contact.php

20 lines
405 B
PHP
Raw Permalink Normal View History

<?php
2016-01-03 19:08:53 -05:00
namespace App\Models;
2016-01-03 19:08:53 -05:00
class Contact extends DashboardModel
{
2016-01-03 19:08:53 -05:00
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' ]
];
2016-01-03 19:08:53 -05:00
}