28 lines
529 B
PHP
28 lines
529 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
|
|
||
|
|
class License extends Model
|
||
|
|
{
|
||
|
|
/** @use HasFactory<\Database\Factories\LicenseFactory> */
|
||
|
|
use HasFactory;
|
||
|
|
|
||
|
|
protected $fillable = [
|
||
|
|
'name',
|
||
|
|
'email',
|
||
|
|
'product',
|
||
|
|
'version',
|
||
|
|
'is_perpetual',
|
||
|
|
'expiration_date',
|
||
|
|
'signature'
|
||
|
|
];
|
||
|
|
|
||
|
|
protected $casts = [
|
||
|
|
'is_perpetual' => 'boolean',
|
||
|
|
'expiration_date' => 'datetime'
|
||
|
|
];
|
||
|
|
}
|