ok

Mini Shell

Direktori : /home2/selectio/www/billingsoftwarenew/core/app/Models/
Upload File :
Current File : /home2/selectio/www/billingsoftwarenew/core/app/Models/OtpVerification.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OtpVerification extends Model
{

    public $timestamps = false;

    protected $casts = [
        'additional_data' => 'object',
        'send_at' => 'datetime',
        'used_at' => 'datetime',
        'expired_at' => 'datetime',
    ];

    public function verifiable()
    {
        return $this->morphTo();
    }

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}

Zerion Mini Shell 1.0