todo/app/Todo.php
2020-06-28 00:43:02 +07:00

14 lines
184 B
PHP
Executable File

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Todo extends Model
{
public function todoItems()
{
return $this->hasMany('App\TodoItem');
}
}