1
0

Giant Update

This commit is contained in:
Wian Drs
2026-07-31 13:57:11 +07:00
parent f68d967c8b
commit b0d08211ec
112 changed files with 6674 additions and 3 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class CustomerContact extends Model
{
protected $guarded = ['id'];
protected function casts(): array
{
return [
'is_primary' => 'boolean', 'is_verified' => 'boolean',
'can_receive_transactional' => 'boolean', 'can_receive_broadcast' => 'boolean',
'verified_at' => 'datetime', 'opted_out_at' => 'datetime',
];
}
public function customer() { return $this->belongsTo(Customer::class); }
}