'int', 'network_agent_id' => 'int', 'network_id' => 'int' ]; protected $dates = [ 'period_start_at', 'period_end_at' ]; protected $fillable = [ 'id', 'invoice_id', 'network_agent_id', 'amount', 'insured_amount', 'insurer_amount', 'period_start_at', 'period_end_at', 'file_url', 'institution_name', 'institution_code', 'network_id', 'currency_code' ]; public function health_care_sheets() { return $this->hasMany(NhInfosHealthCareSheets::class, 'invoice_id', 'id'); } }