Added license management module
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?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'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user