34 lines
645 B
PHP
34 lines
645 B
PHP
<?php
|
|
|
|
namespace Modules\Admin\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Admin\Database\factories\EventFactory;
|
|
|
|
class Event extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_events';
|
|
protected $primaryKey = "event_id";
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'title',
|
|
'alias',
|
|
'type',
|
|
'date',
|
|
'start_time',
|
|
'end_time',
|
|
'location',
|
|
'status',
|
|
'description',
|
|
'remarks',
|
|
'createdBy',
|
|
'updatedBy',
|
|
];
|
|
}
|