First commit for project

This commit is contained in:
2022-02-13 11:19:29 +01:00
commit d9c8d55505
106 changed files with 47789 additions and 0 deletions

38
app/Models/Project.php Normal file
View File

@@ -0,0 +1,38 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Carbon;
/**
* @property int $id
* @property string $title
* @property array $categories
* @property string $author
* @property string $image_url
* @property Carbon $release_data
* @property string $project_url
* @property string $project_version
* @property string $description
*/
class Project extends Model
{
// use HasFactory;
protected $guarded = [];
protected $casts = [
'id' => 'integer',
'title' => 'string',
'categories' => 'array',
'author' => 'string',
'image_url' => 'string',
'release_data' => 'datetime:d-m-Y',
'project_url' => 'string',
'project_version' => 'string',
'description' => 'string'
];
}