This commit is contained in:
2023-06-16 00:47:37 +02:00
parent 2cbcaee7f5
commit 08133d0b05
3 changed files with 96 additions and 0 deletions

28
app/Models/CV.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* @property int $id
* @property string $recipient
* @property string $email
* @property string $phoneNumber
* @property array $locations
* @property int $views
*/
class CV extends Model
{
use HasFactory;
protected $table = 'cvs';
protected $guarded = [];
protected $casts = [
'locations' => 'array',
'views' => 'integer',
];
}