|PostModel newModelQuery() * @method static Builder|PostModel newQuery() * @method static Builder|PostModel query() * @method static Builder|PostModel whereId($value) * @method static Builder|PostModel whereUserId($value) * * @mixin \Eloquent */ class PostModel extends Model { protected $table = 'posts'; public $timestamps = false; protected $fillable = [ 'user_id', 'title', 'body', 'created_at', ]; protected $casts = [ 'created_at' => 'datetime', ]; }