first commit
This commit is contained in:
18
app/Models/Program.php
Executable file
18
app/Models/Program.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Program extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable=['image_card','image_background','slug','images'];
|
||||
|
||||
public function translations()
|
||||
{
|
||||
return $this->hasMany(ProgramTranslation::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user