more work on rental moon ledgers
This commit is contained in:
@@ -29,4 +29,13 @@ class RentalMoonLedger extends Model
|
||||
'recorded_corporation_name',
|
||||
'last_updated',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the observer this belongs to
|
||||
*/
|
||||
public function observer() {
|
||||
return $this->belongsTo('App\Models\Moon\RentalMoonObserver', 'observer_id', 'observer_id');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -22,5 +22,5 @@ class RentalMoonObserver extends Model
|
||||
'observer_name',
|
||||
'observer_type',
|
||||
'last_updated',
|
||||
];
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user