'int', 'max_number_of_beneficiaries' => 'int', 'age_limit_of_insured_and_spouse' => 'int', 'age_limit_of_child_beneficiary' => 'int', // 'coverage_limit_per_insured_per_year' => 'float', 'family_coverage_sharing' => 'boolean', 'reminder_delay_days' => 'int', 'suspension_delay_days_after_reminder' => 'int', 'current_affection_percentage_insurer' => 'float', 'current_affection_percentage_insured' => 'float', 'long_term_affection_percentage_insurer' => 'float', 'long_term_affection_percentage_insured' => 'float', 'exoneration_percentage_insurer' => 'float', 'exoneration_percentage_insured' => 'float' ]; protected $fillable = [ 'network_id', 'provider_billing_period', 'max_number_of_beneficiaries', 'age_limit_of_insured_and_spouse', 'age_limit_of_child_beneficiary', // 'coverage_limit_per_insured_per_year', 'family_coverage_sharing', 'reminder_delay_days', 'suspension_delay_days_after_reminder', 'current_affection_percentage_insurer', 'current_affection_percentage_insured', 'long_term_affection_percentage_insurer', 'long_term_affection_percentage_insured', 'exoneration_percentage_insurer', 'exoneration_percentage_insured' ]; public function configWallet() { return $this->hasOne(ConfigWallet::class, 'id_network', 'network_id'); } public function network() { return $this->belongsTo(Network::class, 'network_id'); } public function monthsPricesGrid() { return $this->hasMany(NhMonthsPricesGrid::class, 'nh_network_config_id', 'id'); } public function yearsPricesGrid() { return $this->hasMany(NhYearsPricesGrid::class, 'nh_network_config_id', 'id'); } }