Record paddock state changes
This commit is contained in:
16
app/PaddockStateChange.php
Normal file
16
app/PaddockStateChange.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PaddockStateChange extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'state',
|
||||
];
|
||||
|
||||
public function paddock() {
|
||||
return $this->belongsTo('App\Paddock');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user