Record paddock state changes

This commit is contained in:
2020-04-17 11:30:44 +02:00
parent b71678bf3b
commit 8a0b9bf776
5 changed files with 85 additions and 1 deletions

View 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');
}
}