journal-intime/app/Post.php
Shikiryu 9dc50d6130 🎉 Hello world
2019-09-18 16:50:01 +02:00

27 lines
408 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'content', 'image', 'date_post', 'user_id'
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
];
}