mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 08:27:32 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			378 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			378 B
		
	
	
	
		
			PHP
		
	
	
		
			Executable File
		
	
	
	
	
| <?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');
 | |
|     }
 | |
| }
 |