mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 19:57:30 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			411 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			411 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php namespace App\Models;
 | 
						|
 | 
						|
class Timesheet extends Eloquent
 | 
						|
{
 | 
						|
    public $timestamps = true;
 | 
						|
    protected $softDelete = true;
 | 
						|
 | 
						|
    public function account()
 | 
						|
    {
 | 
						|
        return $this->belongsTo('Account');
 | 
						|
    }
 | 
						|
 | 
						|
    public function user()
 | 
						|
    {
 | 
						|
        return $this->belongsTo('App\Models\User');
 | 
						|
    }
 | 
						|
 | 
						|
    public function timesheet_events()
 | 
						|
    {
 | 
						|
        return $this->hasMany('TimeSheetEvent');
 | 
						|
    }
 | 
						|
}
 |