davide.cucurnia@vola.it
2024-02-08 d5d253a98cabfe8f57335a2805120335d5ab265d
commit | author | age
89a71b 1 <?php
D 2
3 namespace App\Models;
4
5 use Illuminate\Database\Eloquent\Model;
6 use Illuminate\Database\Eloquent\SoftDeletes;
7
8 class VodafoneUser extends Model
9 {
10
11     /**
12      * The attributes that are mass assignable.
13      *
14      * @var array<int, string>
15      */
16     protected $fillable = [
17         'Name',
18         'Surname',
19         'EmailAddress',
20         'ProfileIdentifier',
21         'FiscalCode',
22         'Type_ID',
23         'Custcode',
24         'EmailCSA',
25         'PIN_CSA',
26         'ID_CSA',
27         'Sex',
28         'BirthProvinceName',
29         'BirthPlace',
30         'HomeProvinceName',
31         'MicroBusiness',
32         'HomePhone',
33         'Address',
34     ];
35
36     public function sims()
37     {
38         return $this->hasMany('App\Models\Msisdn','VodafoneUser', 'id');
39     }
40
41 }