'datetime:d/m/Y', 'fim' => 'datetime:d/m/Y', ]; protected $fillable = [ 'antecedente_id', 'ciap_id', 'cid_id', 'situacao_id', 'inicio', 'fim', 'observacao', ]; protected $hidden = [ 'created_at', 'created_lotacao_id', 'created_centro_custo_id', 'updated_at', 'updated_lotacao_id', 'updated_centro_custo_id', ]; public function antecedente() { return $this->belongsTo(AtendimentoSoapAntecedente::class); } public function ciap() { return $this->belongsTo(Ciap::class); } public function cid() { return $this->belongsTo(Cid::class); } public function situacao() { return $this->belongsTo(ProblemaCondicaoSituacao::class); } }