Filippo Bertilotti
2024-07-15 488dbe0a4f0d5be738a5ac010d19a94ce45f20a2
app/Models/Products.php
@@ -15,15 +15,15 @@
     */
    protected $fillable = [
        'LinkedMSISDN',
        'tmCode',
        'TmCode',
        'OMProductId',
        'description',
        'activationDate'
        'Name',
        'Description',
    ];
    public function msisdn()
    {
        return $this->belongsTo('App\Models\Msisdn', 'LinkedMSISDN', 'id');
        return $this->belongsToMany(Msisdn::class, 'pivot_msisdn_products', 'idProducts', 'idMsisdn');
    }
}