'datetime:d/m/Y', 'fim' => 'datetime:d/m/Y', ]; protected $fillable = [ 'id', 'paciente_id', 'inicio', 'fim', ]; protected $hidden = [ 'created_at', 'created_lotacao_id', 'created_centro_custo_id', 'updated_at', 'updated_lotacao_id', 'updated_centro_custo_id', ]; public function paciente() { return $this->belongsTo(Paciente::class); } }