<?php

namespace App\Models;

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

class ClientLicenseValidity extends Model
{
    use HasFactory;
    use SoftDeletes;

    protected $fillable = [
        'license_id',
        'activation_date',
        'valid_upto',
        'grace_period',
        'payment_status',
    ];
    public function getLisence()
    {
        return $this->belongsTo(ClientLicense::class,'license_id');
    }
}
