Compare commits
2 Commits
258f43c7e7
...
bee3462c09
| Author | SHA1 | Date | |
|---|---|---|---|
| bee3462c09 | |||
|
|
7d84624843 |
@@ -163,4 +163,9 @@ class Plant extends Model
|
||||
{
|
||||
return $this->hasMany(User::class, 'plant_id', 'id');
|
||||
}
|
||||
|
||||
public function vehicleEntries()
|
||||
{
|
||||
return $this->hasMany(VehicleEntry::class, 'plant_id', 'id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user