You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
435 B
33 lines
435 B
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Leann extends Model
|
|
{
|
|
|
|
/**
|
|
* The attributes that should be mutated to dates.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $dates = [
|
|
'created_at',
|
|
'updated__at',
|
|
];
|
|
|
|
protected $fillable = ['name','description'];
|
|
|
|
protected $visible = [
|
|
'id',
|
|
'user_id',
|
|
'name',
|
|
'description',
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
|