26 lines
408 B
PHP
26 lines
408 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ProjectMosaic extends Model
|
|
{
|
|
use HasFactory;
|
|
use \App\Traits\HasStatus;
|
|
|
|
protected $fillable = [
|
|
'name',
|
|
'path',
|
|
'week',
|
|
'year',
|
|
];
|
|
|
|
public function project()
|
|
{
|
|
return $this->belongsTo(Project::class);
|
|
}
|
|
|
|
}
|