*/ protected $fillable = [ 'energy', 'energy_kj', 'protein', 'carbohydrates', 'sugar', 'fat', 'saturated_fatty_acids', 'dietary_fiber', 'salt', 'energy_percent', 'energy_kj_percent', 'protein_percent', 'carbohydrates_percent', 'sugar_percent', 'fat_percent', 'saturated_fatty_acids_percent', 'dietary_fiber_percent', 'salt_percent' ]; // * RELATIONSHIPS /** * Get all of the products for the range. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function product(): \Illuminate\Database\Eloquent\Relations\BelongsTo { return $this->belongsTo(Product::class, 'product_id'); } }