- wip
This commit is contained in:
28
app/Models/CV.php
Normal file
28
app/Models/CV.php
Normal 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',
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user