invoiceninja/app/Models/Timesheet.php
Jeramy Simpson 04c392136e Add Files
2015-03-17 07:45:25 +10:00

23 lines
378 B
PHP

<?php
class Timesheet extends Eloquent
{
public $timestamps = true;
protected $softDelete = true;
public function account()
{
return $this->belongsTo('Account');
}
public function user()
{
return $this->belongsTo('User');
}
public function timesheet_events()
{
return $this->hasMany('TimeSheetEvent');
}
}