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

14 lines
178 B
PHP
Executable File

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