mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-15 07:33:04 +01:00
23 lines
343 B
PHP
Executable File
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');
|
|
}
|
|
}
|