todo/app/TodoItem.php

14 lines
178 B
PHP
Raw Normal View History

2020-06-23 17:45:04 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class TodoItem extends Model
{
public function todo()
{
return $this->hasOne('App\Todo');
}
}