<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class CustomerQualityAudienceMember extends Model
{
    protected $guarded = ['id'];

    protected $casts = [
        'lookalike_value' => 'float',
        'last_seen_at' => 'datetime',
        'last_synced_at' => 'datetime',
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];

    public function customer()
    {
        return $this->belongsTo(User::class, 'user_id');
    }
}
