mirror of
https://github.com/supanadit/todo.git
synced 2024-11-23 10:46:23 +00:00
14 lines
184 B
PHP
Executable File
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');
|
|
}
|
|
}
|