| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class CustomerContact extends Model |
||
| 10 | { |
||
| 11 | use HasFactory; |
||
| 12 | use SoftDeletes; |
||
| 13 | |||
| 14 | protected $primaryKey = 'cont_id'; |
||
| 15 | protected $guarded = ['cont_id', 'created_at', 'updated_at']; |
||
| 16 | protected $hidden = ['created_at', 'updated_at', 'deleted_at']; |
||
| 17 | protected $casts = [ |
||
| 18 | 'deleted_at' => 'datetime:M d, Y', |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /* |
||
| 22 | * Each customer contact can have several phone numbers attached |
||
| 23 | */ |
||
| 24 | public function CustomerContactPhone() |
||
| 29 |