1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
invoiceninja/app/models/TimeSheetEvent.php
2014-10-01 03:01:41 +02:00

38 lines
590 B
PHP

<?php
class TimeSheetEvent extends Eloquent
{
public $timestamps = false;
protected $softDelete = false;
public function account()
{
return $this->belongsTo('Account');
}
public function user()
{
return $this->belongsTo('User');
}
public function source()
{
return $this->belongsTo('TimeSheetEventSource');
}
public function timesheet()
{
return $this->belongsTo('TimeSheet');
}
public function project()
{
return $this->belongsTo('Project');
}
public function project_code()
{
return $this->belongsTo('ProjectCode');
}
}