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

23 lines
343 B
PHP
Executable File

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