<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * @property int $id
 * @property int|null $client_id
 * @property int|null $contact_id
 * @property int|null $admin_id
 * @property string $to_address
 * @property string $from_address
 * @property string|null $bcc_address
 * @property string $subject
 * @property string $content
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 *
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email query()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereAdminId($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereBccAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereContactId($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereFromAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereSubject($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereToAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Email whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Email whereClientId($value)
 *
 * @mixin \Eloquent
 */
class Email extends Model
{
    use HasFactory;

    protected $fillable = [
        'client_id',
        'contact_id',
        'admin_id',
        'to_address',
        'from_address',
        'bcc_address',
        'subject',
        'content',
    ];
}
