public function setDataVencimento($dataVencimento) { $this->dataVencimento = trim($dataVencimento, '0 ') ? Carbon::createFromFormat('dmy', $dataVencimento) : null; return $this; }