Completed
Push — main ( c1e214...4739dd )
by Emmanuel
01:16
created

EventDateTime::event()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * Author: Emmanuel Paul Mnzava
5
 * Twitter: @epmnzava
6
 * Github:https://github.com/dbrax/eticket
7
 * Email: [email protected]
8
 * 
9
 */
10
11
namespace Epmnzava\BillMe\Models;
12
13
use Illuminate\Database\Eloquent\Model;
14
15
class EventDateTime extends Model
16
{
17
    protected $guarded = [];
18
    protected $table="event_categories";
19
    public function event()
20
    {
21
        return $this->belongsTo(Event::class,'eventid');
22
    }
23
}
24