1234567891011121314151617 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class Corpus extends Model {
- protected $table = 'corpora';
- public $timestamps = true;
- public function sentences()
- {
- return $this->hasMany('App\Models\Sentence');
- }
- }
|