update for version 1.0.2

This commit is contained in:
sujitprasad
2015-11-30 16:38:59 +05:30
parent d0a69a8df1
commit 7e17edab1e
425 changed files with 14241 additions and 3410 deletions

View File

@@ -0,0 +1,27 @@
<?php namespace App\Model\kb;
use Illuminate\Database\Eloquent\Model;
use Nicolaslopezj\Searchable\SearchableTrait;
class Article extends Model {
use SearchableTrait;
/**
* Searchable rules.
*
* @var array
*/
protected $searchable = [
'columns' => [
'name' => 10,
'slug' => 10,
'description' => 10,
],
];
/* define the table name to get the properties of article model as protected */
protected $table = 'article';
/* define the fillable field in the table */
protected $fillable = ['name', 'slug', 'description', 'type', 'status'];
}