todo/app/Todo.php

14 lines
184 B
PHP
Raw Permalink Normal View History

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