todo/app/TodoItem.php
2020-06-24 00:45:04 +07:00

14 lines
178 B
PHP

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